On Sat, 2005-11-12 at 22:28 -0600, Aleksandar Milivojevic wrote: > kadafax wrote: > > Hi list, > > I have a SAN attached to a CentOS 4.2 server. I have expanded the size > > of the virtual disk within the SAN (by adding a new HD to the disk pool) > > and need CentOS to see the new size (CentOS see it as /dev/sdb). I'm > > using LVM. Do you know a method for the Volume Group to see that one of > > its harddisk is now bigger, without rebooting (it's not a problem with a > > reboot but since the LDAP directory is on this server, it is problematic). > > If you do "fdisk /dev/sdb", does it show you correct (new) size? Fdisk > should query device directly (and not relay on cached copy of partition > table in kernel). > <snip> A faster method is sfdisk -l [/dev/xxxx] # If no device specification, lists all and then sfdisk -R /dev/xxx will load the disk parameters to the OS without reboot. However, not being familiar with LVM, I don't know if this causes a problem or if you just then follow the other directions given by Aleksander. I have also used this for automated configuration. But that was without LVM being involved. Bill -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.centos.org/pipermail/centos/attachments/20051113/dd4ac068/attachment.bin