- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extend /usr
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
01-16-2003 01:38 AM
01-16-2003 01:38 AM
Extend /usr
I want to extend /usr in VG00, but i'dont have JFS online so i must umount the FS to do an extendfs . What will hapenned if i do a fuser -ku to kill all process in this FS.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:41 AM
01-16-2003 01:41 AM
Re: Extend /usr
you can't unmount /usr /home and /opt when system is in multiuser mode (even fuser -k xxx wouln't help)
Since you don't have On-line JFS, you have to get into single user mode to extend /usr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:55 AM
01-16-2003 01:55 AM
Re: Extend /usr
Hi,
Reboot your system and interrupt the booting process then type: hpux -is and answer no to interact with ISL.
Now you extend your /usr file system. Do lxextend then extendfs and your done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 01:57 AM
01-16-2003 01:57 AM
Re: Extend /usr
fuser -k will ot help you .
you need to boot the system to single user mode .
mount /var to have access to command and use the command :
lvextend -L m.b-size /dev/vg00/lvol?
and after that extendfs /dev/vg00/lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 02:06 AM
01-16-2003 02:06 AM
Re: Extend /usr
try this:
# umount /
---> if message "device busy" try:
# fuser -k /
# umount /
---> if further message "device busy"
you have to boot into SingleUser:
?? switch off/on the system
?? break bootprocess
?? boot to ISL
>boot pri isl
interact with IPL? YES
ISL> hpux -is
# lvextend -L
# extendfs -F vxfs /dev/vgXY/rlvolx
# bdf
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 02:43 AM
01-16-2003 02:43 AM
Re: Extend /usr
Normally you can't umount /usr in multiuser mode, but... ...if you force this drastic command combination, /usr will be umonted
# fuser ???ku /dev/vg[nn]/lvol[n];umount /mount_point
In the past I've experimented troubles with sendmail service after do this, but just on 10.20
If you try this way or the ortodox ISL way you must do the followings steps:
#lvextend ???L [new total size in Kb] /dev/vg[nn]/ lvol[n]
If fstyp = hfs
#extendfs ???F hfs /dev/vg[nn]/rlvol[n]
If fstyp = vxfs
#extendfs ???F vxfs /dev/vg[nn]/lvol[n]
#mount /dev/vg[nn]/lvol[n] /opt
#fsck /dev/vg[nn]/lvol[n]
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2003 03:03 AM
01-16-2003 03:03 AM
Re: Extend /usr
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 10:50 AM
01-17-2003 10:50 AM
Re: Extend /usr
/usr is a pretty static file system. I create a new logical volume with the new size and mount it to /usr1.
find /usr |cpio -pdmu /usr1
copies the the data.
edit fstab change usr to usr1 and usr1 to usr and then reboot.
You can create and copy while the system is still in production. And thne schedule reboot, which is very short.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 11:09 AM
01-17-2003 11:09 AM
Re: Extend /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 11:26 AM
01-17-2003 11:26 AM
Re: Extend /usr
OR
add new lvm usr2
cd usr
find . ???print | cpio ???pcxvdmu /usr2
edit fstab comment out usr and change usr2 to usr
reboot
remove unused volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 11:32 AM
01-17-2003 11:32 AM
Re: Extend /usr
Do not use fuser to kill processes which are using /usr in multi-user mode.
Instead, bring the server to the single-user mode to extend this filesystem.
Hai