1753331 Members
5474 Online
108792 Solutions
New Discussion юеВ

extending logical volume

 
SOLVED
Go to solution
newunix
Frequent Advisor

extending logical volume

new to unix

total disk size is 400 gb

4 physical volume 100 gb each

is it possiable to extend a logical volume more than 100 gb assigned to a physical volume


21 REPLIES 21
Jestin John Chacko
Regular Advisor

Re: extending logical volume


Hai...

For getting out of these confusions first get in to the concept of volume groups and logical volumes

this document may help you in this

http://docs.hp.com/en/B2355-90672/ch03s10.html

hope this will help you to get a basic idea
Johnson Punniyalingam
Honored Contributor

Re: extending logical volume

>>is it possiable to extend a logical volume more than 100 gb assigned to a physical volume>>>

more information like

# vgdisplay -v /dev/vg_name -> if you can post output

and which file system or logical volume you want to extend -> output we advice accordingly

# bdf /file_system_1 ..2 ..3 ..4
Problems are common to all, but attitude makes the difference
Durvesh Mendhekar
Regular Advisor

Re: extending logical volume

Hi,

Need more information

vgdisplay -v "vgname"
strings /etc/lvmtab

Regards,
Durvesh M.
subodhbagade
Regular Advisor
Solution

Re: extending logical volume

Hi,

(1)Check whether you are having free space in your VG ( PE size * Free PE)

(2)Check who is accessing the LV using
#fuser ├в cu /mount point

(3)Unmount the LV
#umount lv_name
#kill ├в 9 pid if device is busy

(4)Extending LV
# lvextend ├в L final_size /dev/vg/lvname

(5)Extending FS
#extendfs ├в F /dev/vg/rlvol

(6)mount /mount_point

Above steps you can follow if you donot have online JFS

(7) With OnlineJFS you do not need to umount. Use fsadm instead:

# fsadm -b

(8)Each logical volume having limitation of logical extent i.e 655535 , beyond this you can not extend the LV.

Hopes this will help you to extend LV.


Regards,
Subodh.
newunix
Frequent Advisor

Re: extending logical volume

hi subodhbagade

how to find out the max value of logical extent and how to find if online jfs installed
Johnson Punniyalingam
Honored Contributor

Re: extending logical volume

>>how to find out the max value of logical extent and <<

# lvdisplay -v /dev/vgxx/lvolxx -> can give you more information

man lvdisplay

>>how to find if online jfs installed <,

Example :-

# swlist -l product |grep -i jfs
JFS B.11.11 The Base VxFS File System
OnlineJFS B.11.11.03.03 Online features of the VxFS File System
PHKL_24026 1.0 JFS Filesystem swap corruption
PHKL_29115 1.0 JFS Direct I/O cumulative patch
PHKL_30366 1.0 JFS3.3;ACL patch
PHKL_34805 1.0 JFS3.3 patch; mmap
PHKL_35329 1.0 JFS3.3 edquota performance improvement
PHKL_35933 1.0 Panic extending JFS3.3 filesystem past 12

Problems are common to all, but attitude makes the difference
subodhbagade
Regular Advisor

Re: extending logical volume

Hi,

(1)Max value of LE of each LV is 65535 , you can get this value from

# vgdisplay ├в v /dev/vgname.

LV Name /dev/vg00/software
LV Status available/syncd
LV Size (Mbytes) 4416
Current LE 276
Allocated PE 276
Used PV 1


(2) Please refer below link for more info of online JFS


http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264412349946+28353475&threadId=1371631



Regards,
Subodh.

Johnson Punniyalingam
Honored Contributor

Re: extending logical volume

Online JFS - Package its Licensed product
Problems are common to all, but attitude makes the difference
newunix
Frequent Advisor

Re: extending logical volume

is physical volume is like a disk or its a disk itself..