- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr lvol size
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-05-2002 02:39 PM
02-05-2002 02:39 PM
/usr lvol size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2002 04:56 PM
02-05-2002 04:56 PM
Re: /usr lvol size
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 01:37 AM
02-06-2002 01:37 AM
Re: /usr lvol size
Like a interactive recovery would help you with the reduction of this filesystem, it guess it would be better and faster if you first start with a preview of the make_recovery processing.
make_recovery -A -p creates a preview of the process.
At this point some files are created like /var/opt/ignite/recovery/config.recover
This file contains basic configuration of your system.
Here you can change the size of the /usr filesystem.
After you have changed this you continue the make_recovery with "make_recovery -r".
When finished you have a recovery tape where the filesystem will always be this size. Even when you need to recover your system a second time and you don't need to remember to always go into interactive mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2002 08:21 AM
02-06-2002 08:21 AM
Re: /usr lvol size
Make an Ignite-UX tape with :
# make_recovery -A -d /dev/rmt/#mn
and then reboot the system, interact with the restore process and resize your file system.
ATTENTION :
Do not use "lvreduce" because data will be LOST under this file system.
Good luck.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 11:29 AM
02-07-2002 11:29 AM
Re: /usr lvol size
Say you wanted to reduce /usr to around 1G:
boot in single user mode:
#look at you fstab to see what the next lvol is for the vg. lets say in vg00, lvol10 is the next lvol.
mount /usr
lvcreate -L 1000 -n lvol11 /dev/vg00
newfs -F vxfs /dev/vg00/rlvol11
mkdir /newusr
mount /dev/vg00/lvol11 /newusr
cd /usr
find . | cpio -pdmuxvl /newusr
du -sk /usr
du -sk /newusr
#totals should be close. Probably not the same.
#edit /etc/fstab to have /usr mounted on lvol11
reboot
#once the system comes up and look good, remove the old lvol
lvremove /dev/vg00/lvol??
Hope this helps.
...jcd...