Disc upgrade - how to reread partition table?

Todd Lyons tlyons at ivenue.com
Wed Nov 14 12:28:39 CST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Nov 14, 2007 at 05:10:23PM +0100, Peter Kjellstrom wrote:

>This thread is getting real thick with incorrect guesses and assumptions.
>ext3 is just as able to online (while mounted) resize as xfs (man resize2fs).

Didn't know it could be done while mounted.  Thanks for that.

>Regarding the partition table updating. partprobe can be used and works even 
>with a mounted root filesystem on the drive as: "partprobe /dev/sda".

In general, if you have primary partitions on the drive and you modify
those primary partitions, the kernel can reload the new partition table
without a reboot (that's the ioctl call as fdisk exits).  If you have
any logical partitions on the drive, the kernel will not see those and
you'll need a reboot.
- -- 
Regards...		Todd
Well, it's Karch...   --frequently heard after every amazing move he does
Linux kernel 2.6.22.9-desktop-1mdv   2 users,  load average: 0.08, 0.09, 0.09
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHOz5XY2VBGxIDMLwRAj0rAKCE4V699nxw6ZfoWboRPRuQk4zLGACeN42u
dzUts5x9WUSqQYUqWSZfTnI=
=rmhD
-----END PGP SIGNATURE-----



More information about the Linux-PowerEdge mailing list