[Wylug-help] RAID, mdadm and df
Martyn Ranyard
ranyardm at gmail.com
Fri Sep 24 13:50:56 UTC 2010
Hi John,
I realise it is a bit of an assumption that if a raid array is set up with
/boot, swap and a big partition, the big one is /, but I think it's a fairly
valid assumption :-)
Yeah, resize2fs, that'd be why ext{tab} didn't bring it up on my system,
hopefully that'll make life easier for Roger, especially if it is mounted as
ext3 or 4.
Cheers,
--
Martyn
On 24 September 2010 14:28, John Hodrien <J.H.Hodrien at leeds.ac.uk> wrote:
> On Fri, 24 Sep 2010, Martyn Ranyard wrote:
>
> Hi Roger,
>>
>> The size thing is a container mindset issue. /dev/md1 is the container
>> for
>> the filesystem, and although the container has been grown with --grow but
>> the filesystem within it has not. You need to use the filesystem tool to
>> resize the filesystem and unless you're using xfs, I believe you'll have
>> to
>> do this offline (livecd). extresize I believe is the tool for
>> ext(2/3/4),
>> but I haven't got the full suite available to me at the moment to check.
>>
>
> Works with ext3 live too:
>
> "The resize2fs program will resize ext2 or ext3 file systems. It can be
> used to enlarge or shrink an unmounted file system located on device.
> If
> the filesystem is mounted, it can be used to expand the size of the
> mounted filesystem, assuming the kernel supports on-line resizing. (As
> of
> this writing, the Linux 2.6 kernel supports on-line resize for
> filesystems mounted using ext3 only.)."
>
> Unless it's / you can just unmount it and resize it anyway.
>
> jh
>
>
> _______________________________________________
> Wylug-help mailing list
> Wylug-help at wylug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/wylug-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20100924/c70503b9/attachment-0001.htm>
More information about the Wylug-help
mailing list