- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Successfully extend lvol3 with Online JFS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 08:48 PM
02-19-2009 08:48 PM
the os is 11.11 EOE,i do this only one time,and i have no chance to do that any more.Is this action reliable?
Here is my action.
--------------------------------------------
root@rp2470:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2097152 103328 1978296 5% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304200 3762832 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/lvol4 512000 2304 505720 0% /home
/dev/vg00/test 2097152 922400 1165640 44% /test
root@rp2470:/#
root@rp2470:/#umount /home
root@rp2470:/#lvremove /dev/vg00/lvol4
The logical volume "/dev/vg00/lvol4" is not empty;
do you really want to delete the logical volume (y/n) : y
Logical volume "/dev/vg00/lvol4" has been successfully removed.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@rp2470:/#
root@rp2470:/#
root@rp2470:/#lvextend -L 2500 /dev/vg00/lvol3
Warning: rounding up logical volume size to extent boundary at size "2512" MB.
Logical volume "/dev/vg00/lvol3" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
root@rp2470:/#fsadm -b 2500m /
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: /dev/vg00/rlvol3 is currently 2097152 sectors - size will be increased
root@rp2470:/#bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 2560000 103344 2437512 4% /
/dev/vg00/lvol1 298928 30856 238176 11% /stand
/dev/vg00/lvol8 4096000 304192 3762848 7% /var
/dev/vg00/lvol7 3080192 922416 2140984 30% /usr
/dev/vg00/lvol6 1048576 2512 1037960 0% /tmp
/dev/vg00/lvol5 5128192 2471232 2636264 48% /opt
/dev/vg00/test 2097152 922400 1165640 44% /test
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 08:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 10:13 PM
02-19-2009 10:13 PM
Re: Successfully extend lvol3 with Online JFS
so you have deleted /dev/vg00/lvol4 right?
could you post cat /etc/fstab?
do you remember what was there on /dev/vg00/lvol4?
in the bdf i cannot see the /home thats why wanted to see the cat /etc/fstab.
Ok it also might be that you might not have created a separate LV for home.
also going to the root directory after a root login ( that is do a #cd /)
please show #ls -al
and also if you have /home in there please show #ll /home
please post all the outputs of all the commands.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2009 10:15 PM
02-19-2009 10:15 PM
Re: Successfully extend lvol3 with Online JFS
just a moment /dev/vg00/lvol4 happens to be the /home that keeps the home(login) directories typically for the users on the ssytem.
you must be facing probs with the general user logins.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2009 12:09 AM
02-20-2009 12:09 AM
Re: Successfully extend lvol3 with Online JFS
Yes, after remove lvol4, extend lvol3,i recreate lvol4,and it takes no effect on my
system.
I just want to take a test, maybe is a method to extend lvol3,but in fact ,it's not
an offcial solution.
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2009 01:08 AM
02-20-2009 01:08 AM
Re: Successfully extend lvol3 with Online JFS
You are right. The only policy which restrict to extend the root volume(though we have free space on VG) is contigious allocation policy. If you can allocate contigious space system is not going to block you to extend the root volume.
As patrick said, if you are not care about lvol4, then ofcourse the steps will work fine.
Instead of removing the very next volume to root that is lvol4, you can move to some other disk and extend it.
Another way is take the backup of lvol4, remove it. Then extend root and recreate lvol4 on some other place and restore the backup.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2009 01:57 AM
02-20-2009 01:57 AM
Re: Successfully extend lvol3 with Online JFS
Or you can also try before the lvextend and fsadm the pvmove for the lvol4.
#pvmove -n /dev/vg00/lvol4
this shall automatically move the lvol4 to the free space in the VG vg00, hence making available the Contiguous Space available just after the lvol3, which should then allow you the lvextend of /dev/vg00/lvol3 by the same amount as such.
Or you can add a disk in the VG vg00 and move /dev/vg00/lvol4 to that using
#pvmove -n /dev/vg00/lvol4 /dev/dsk/cXtYdZ /dev/dsk/cAtBdC
where /dev/dsk/cXtYdZ is the disk /dev/vg00/lvol4 is currently residing and /dev/dskv/cAtBdC is the disk you mwant lvol4 to move temporarily.
Also please before attaempting to do this activity make sure that you have an Ignite Backup of the server, in case you might need to roll-back.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2009 05:30 AM
02-22-2009 05:30 AM