- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: unmounting logical volumes
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-14-2006 08:47 PM
02-14-2006 08:47 PM
I am new to working on Unix.
I had installed HP UX 11.11 on my server and went with the defaults. So, my root volume was given 200MB. I wanted to increase the size of this volume. According to the doc's I referred, I was asked to unmount the corresponding volumes iin the single user mode and use 'lvextend'.
But when I tried to do so it said 'the volume is busy cant unmount'. So on the suggestion of a co-worker I was asked to change the 'fstab' file. When I #'ed out the logical volumes that i didnt need to mount, now I am unable to log onto my server.
What can be done now ?? Please help !!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 08:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 09:20 PM
02-14-2006 09:20 PM
Re: unmounting logical volumes
I kept the reinstallation as the last resort but now that I can't increase the size of root without reinstallation, can I increase the size of all other volumes by unmounting and using 'lvextend', if yes, please tell me how to go into the single user mode to do so ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2006 11:09 PM
02-14-2006 11:09 PM
Re: unmounting logical volumes
Check this link for booting in single user mode
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=981460
You can extend every filesystem except / and /stand in single-user mode
PS : Thx for the points
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 01:13 AM
02-15-2006 01:13 AM
Re: unmounting logical volumes
boot in to single user mode by stopping the server from booting at pdc level.
press any key to discontinue boot
from main menu type
boot pri
then select yes to interact with ISL
from here type
hpux -is
Then system will boot into single user mode.
From here you first need to sort out the fstab file first really.
Then you can umount and extend the lvols as required.
#mount -a
note the dev/vgxx/lvolx for which you want to extend
#umount /usr for example
#lvextend -L (new size in MB) /dev/vgxx/lvolx
#extendfs -F vxfs /dev/vgxx/rlvolx
#mount /dev/vgxx/lvolx /usr
f(ill in the x as required)
#reboot
also before you do any changes in fuure its always a good idea to make a backup kernal to boot from aswell.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 01:41 PM
02-15-2006 01:41 PM
Re: unmounting logical volumes
You know what,if you've installed OnlineJFS Software on your system,you needn't go to single user mode to extend you volume even You can even extend it without unmounting!
You can :
lvextend -L (size you want it to be in MB) volumename;
fsadm -b (the volume size in KB) mountpointname;
OK!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 02:28 PM
02-15-2006 02:28 PM
Re: unmounting logical volumes
FYI, you cannot extend the / and /stand file system.
For others, you can extend it online by using OnlineJFS (purchaseable software) or by LVM basic.
For the LVM basic, you need to goto single user to umount the filesystem. Here is the steps to goto single user :
1) Backup the filesystem before extending
2) Display disk information on the logical volume
lvdisplay -v /dev/vgXX/lvolYY | more
Make sure this is enough Free PE's to increase this filesystem.
Make sure that allocation is NOT strict/contiguous.
3) Reboot the machine
shutdown -r now
4) When prompted, press "ESC" to interrupt the boot.
5) Boot from the primary device and invoke ISL interaction.
bo pri isl
NOTE: If prompted to interact with ISL, respond "y"
6) Boot into single user mode
hpux -is
NOTE: Nothing will be mounted.
After you're in the single user mode, you can do the extend process. Here is some documents for your reference :
docID : KBRC00017432
Extending /var, /usr, /tmp without Online JFS :
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000081573074
docID : KBRC00003170
How to extend a filesystem using Online JFS, Base JFS or HFS.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080080515
For / & / stand, you can extend this file system by re-install OR by using the feature from Ignite/UX software (the command is : make_tape_recovery).
Hope this information can help you.
Cheers,
AW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 02:31 PM
02-15-2006 02:31 PM
Re: unmounting logical volumes
This is the easiest and only way to modify root (/). Because these filesystem must be contigous so u can't modify it using single user mode etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 03:55 PM
02-15-2006 03:55 PM
Re: unmounting logical volumes
Why would you want to increase the size of the root fie system?
It is ususally not recommended to install any "custom application" on this.
My system has the following:
# bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 83904 119984 41% /
Any space i require is then mounted on another new lv.
E.g.
# bdf /BACKUP
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lv_backup
13312000 11369696 1907882 86% /BACKUP
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 04:14 PM
02-15-2006 04:14 PM
Re: unmounting logical volumes
To recover your OS, you have 2 options.
1) Try booting into single user mode. first as follows,
Interrupt the PDC at the start and issue the command "bo pri"
When asked interact with ISL, issue "Y"
Then at HPUX> prompt issue, "hpux -is" to boot into single user mode. If it boots fine, correct the /etc/fstab file and remove the "#" that were added. If you are not able to boot into single user mode,try step 2.
2) try boot in "LVM maintenence mode". this you do by following..
Try booting into single user mode. first as follows,
Interrupt the PDC at the start and issue the command "bo pri"
When asked interact with ISL, issue "Y"
Then at HPUX> prompt issue, "hpux -lm" to boot into lvm maintenece mode.
Please note that root will not be mount on "/" . Instead it woudl be mounted on /dev/root. now edit /dev/root/etc/fstab if possible, never tried before, and remove those "#"s... and reboot with following command... Very imp[ortant with the command "reboot -n" ....
Now if this recovers the rootdisk abd boots successfully, I have a method to increase the root volume. the activity needs to be done in LVM maintence mode with the help of "pvmove" command because the extent allocation in lvol3 needs to be contiguous. This activity can be done without reinstalling. But, more on this activty later , based on your response in recovering the OS,
Regards and best wishes,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2006 05:25 PM
02-15-2006 05:25 PM
Re: unmounting logical volumes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2006 08:02 PM
02-19-2006 08:02 PM
Re: unmounting logical volumes
Just following up, any update related to this issue. Did you extend it successfully as suggested.
Regards,
Senthil Kumar .A