LVM Help

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat LVM Help
# 1  
Old 10-12-2011
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.
# 2  
Old 10-12-2011
Quote:
Originally Posted by Duffs22
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..
Code:
# echo "rescan" > /proc/driver/cciss/cciss0

scan on all targets in iscsi subsystem..
X-> your current array host_number for check this
Code:
# ls /sys/class/scsi_host

after find host number and now try to force scan for all bus,target and luns..
Code:
# echo "- - -" > /sys/class/scsi_host/hostX/scan

now try
check messages from kernel buffer and look for any changes
Code:
# dmesg

check if any new disk(s)
Code:
# fdisk -l |more

check if any detections via lvm
Code:
# pvscan

regards
ygemici
# 3  
Old 10-13-2011
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
# 4  
Old 10-13-2011
Quote:
Originally Posted by venikathir
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 ::
# 5  
Old 10-14-2011
Hi
i am asking guest os under vmware ESX
this is for vmware local i hope
# 6  
Old 10-14-2011
Hi,

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

Code:
[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.
# 7  
Old 10-17-2011
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:
hot-add disk in oracle enterprise linux 5.5
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Need LVM Help

Hello, I need some help, it is slightly urgent so any help is appreciated. We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again. /:migratepv... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

2. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

3. Linux

LVM

Hi , I have 500 GB hard drive in my office server, previous employee installed fedora in to it, with 50 GB / and 120 GB (/opt/backup 15GB, /opt/test 5GB so on) . i have 180 GB free space left , so I have created LVM in 180 GB and moved all data from 120 GB to 180 . Now i need to create lvm in... (1 Reply)
Discussion started by: ram5019
1 Replies

4. AIX

Help with lvm

i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg at the end i get error in mail that: At least one partition mirror is broken please call sysadmin hd5 boot 1 2 2 closed/stale N/A the other fs seems ok and sync what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies

5. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

6. AIX

lvm

Hi. can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies

7. Red Hat

Lvm

Hi, can we create logical volume from 2 different volume groups. (1 Reply)
Discussion started by: gopalredhat
1 Replies

8. Red Hat

lvm with -- on the name

Hi All, I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash). I was able to create it smoothly with this instructions. lvcreate -L 1G uservg -n xxx-yyy ls /dev/uservg/xxx-yyy (check) mkfs.ext3 /dev/uservg/xxx-yyy mount... (1 Reply)
Discussion started by: itik
1 Replies

9. AIX

Help with LVM

Sorry for the noob question; my experience is with Solaris. Am I reading this right? Are these disks completely unused? Not possibly raw disks for informix or something? hdisk5 0K-08-ff-0,1 Optimal RAID 10 Array 285.7GB pdisk20 0K-08-00-2,0 Active Array Member 142.8GB... (2 Replies)
Discussion started by: filosmith
2 Replies

10. Filesystems, Disks and Memory

When to use LVM?

Having first encountered LVM in HP-UX and now experimenting with it in Redhat and Gentoo, I am wondering, when is it actually good practice to use LVM? Obviously LVM doesn't work for boot partitions, so that question is a pretty easy answer: Not for /boot in Linux. While trying to figure out... (1 Reply)
Discussion started by: deckard
1 Replies
Login or Register to Ask a Question

Featured Tech Videos