Thanks for pointing that out as that could cause some major issues for
people. I have expanded a number of hardware RAID and ext3 volumes,
but I never write out instructions. What seems like common knowledge
to me is not for others. Sorry for the confusion over leaving out the
partition number.
Ryan
On Thu, Sep 3, 2009 at 11:51 AM, Bill Davidsen[off-list ref] wrote:
Ryan Wagoner wrote:
Forgot to mention that after you mount /dev/sda to verify that fdisk
was done correctly you must unmount it before running fsck.
umount /dev/sda
fdisk /dev/sda (delete and recreate the partition to fill the entire volume)
mount /dev/sda (make sure your files are accessible to verify you
repartitioned it correctly)
umount /dev/sda
fsck -f /dev/sda
resize2fs /dev/sda
mount /dev/sda (df -h should show the volume with the additional space)
I would say people should ignore these instructions, as they are flawed,
since the fdisk applies to partitions, and all of the mount, umount, and
*e2fs operations are shown on the entire disk. If you know enough to know
when he means /dev/sda1 and when he doesn't, you probably don't need this
anyway.
Please don't save or use these instructions, used as written they don't
work!
--
bill davidsen [off-list ref]
CTO TMR Associates, Inc
"Now we have another quarterback besides Kurt Warner telling us during
postgame
interviews that he owes every great thing that happens to him on a football
field to his faith in Jesus. I knew there had to be a reason why the
Almighty
included a mute button on my remote."
-- Arthur Troyer on Tim Tebow (Sports Illustrated)