LVM Help

Hi,

I have extended the logical drive on my SMART ARRAY on a BL460 C class blade from 72G to 300G (disk upgrade RAID0+1).
It went fine and the new larger disks have now sync'ed up.

I now need to create additional disk space on my linux OS (RH) via LVM but I am unable to see the additional space on the OS. The 'fdisk' does not show any additional partitions or space? Can anyone please advise how this additional space can get presented to the OS?

R,
D.

try rescan with new disk via your smart array driver..

# echo "rescan" > /proc/driver/cciss/cciss0

scan on all targets in iscsi subsystem..
X-> your current array host_number for check this

# ls /sys/class/scsi_host

after find host number and now try to force scan for all bus,target and luns..

# echo "- - -" > /sys/class/scsi_host/hostX/scan

now try
check messages from kernel buffer and look for any changes

# dmesg

check if any new disk(s)

# fdisk -l |more

check if any detections via lvm

# pvscan

regards
ygemici

hi
I have same question but mine is vmware server
if i increased the size of vmdk file how to rescan the disks with our reboot?

Kindly help me
many thanks

How to increase the size of a VMware vmdk file formatted as linux lvm :: TechBlog ::

Hi
i am asking guest os under vmware ESX
this is for vmware local i hope

Hi,

I have ran the suggested commands and got the following results:

[root@XXDBS2 ~]# echo "rescan" > /proc/driver/cciss/cciss0
-bash: echo: write error: Invalid argument

[root@XXDBS2 ~]# ll /sys/class/scsi_host
total 0
drwxr-xr-x 2 root root 0 Oct 12 15:14 host0
drwxr-xr-x 2 root root 0 Oct 12 15:14 host1
[root@XXDBS2 ~]# echo "- - -" > /sys/class/scsi_host/host0/scan
[root@XXDBS2 ~]# pvscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
    Walking through all physical volumes
  PV /dev/cciss/c0d0p5   VG VolGroup00   lvm2 [63.06 GB / 160.00 MB free]
  Total: 1 [63.06 GB] / in use: 1 [63.06 GB] / in no VG: 0 [0   ]

Any further ideas?

Regards,
D.

I have found a reboot usually picks up the additional hardwar, although it's always been on a VMWare server in Linux, I have found absolutely no way to add nwe disk space except to reboot it, running OEL5.5 (same as RHEL5.5 pretty much).

this was my previous post on the same topic to hot-add disk:

Rebooting was one of the first things I tried when I realised that the extra space could not be seen by the OS. Unfortunately doesn't make a difference.

firstly you must be sure everythin is ok about raid array configuration.
try to check your raid configuration in your term.
install HP Array Configuration Utility at below..
HP Array Configuration Utility CLI for Linux - HP Business Support Center

# hpacucli
=> rescan
=> ctrl all show status

can you see new array and new disk(s)?

you can use method 1 :wink:
Welcome to vSphere-land! Re-sizing Virtual Disks
good lucks

regards
ygemici

Hi,

I have now resolved the issue by rebuilding the server having performed a full backup on the box.

My advise is do NOT extend the logical drive, simply opt to create a new logical drive. I have done this many times and there has never been an issue.

Regards,
D.