- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I extend file system on-line
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
Discussions
Discussions
Forums
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
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
тАО08-17-2000 01:09 PM
тАО08-17-2000 01:09 PM
Can I extend file system on-line
-------------------------------------
fstab:
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /usr vxfs delaylog 0 2
/dev/vg00/lvol7 /var vxfs delaylog 0 2
bdf:
Filesystem kbytes used
avail %used Mounted on
/dev/vg00/lvol3 86016 20699
61291 25% /
/dev/vg00/lvol1 47829 18094 24952 42% /stand
/dev/vg00/lvol7 335872 246329 84232 75% /var
/dev/vg00/lvol6 552960 291458 245230 54% /usr
/dev/vg00/lvol4 32768 1885 29007 6% /tmp
/dev/vg00/lvol5 430080 225329 191980 54% /opt
----------------------------------------
I want to extend /tmp, /var and / (please let me know they are too small or not). While they are vxfs, I should not have to shut down to single user mode before doing lvextend and extendfs.
By the way, is there any files I can remove from /var?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2000 01:33 PM
тАО08-17-2000 01:33 PM
Re: Can I extend file system on-line
To check if you have it,
swlist -l product | grep JFS
For how to extend and/or clean /var they were lots of posts. Do a search in the forum for /var.
See as ex.:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xda63c5ea0230d411ade80090279cd0f9,00.html
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xd6677e990647d4118fee0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2000 01:54 PM
тАО08-17-2000 01:54 PM
Re: Can I extend file system on-line
Don't forget that you can create new logical volumes and filesystems and mount them under /var or / or whatever rather than extending the parent volume. This can have the added benefit of isolating problems to certain subsystems in the event of a filesystem becoming full. e.g. you create a new filesystem for /var/mail and it fills up, only the mail system is affected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 05:05 AM
тАО08-18-2000 05:05 AM
Re: Can I extend file system on-line
#swlist -l product |grep JFS
PHKL_12340 B.10.00.00.AA VxFS (JFS) fsck(1M) cumulative patch
By checking original order, we have "Instant ignition of JFS". By checking fstab, /tmp, /var/, /usr, / etc are using vxfs.
So can I use online extend? If not, or on the save side, can I do it in single user mode?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 05:20 AM
тАО08-18-2000 05:20 AM
Re: Can I extend file system on-line
You will have to boot to single user mode in order to extend /tmp and /var. You can extend the logical volume at any time with lvextend but the filesystem cannot be mounted when you run extendfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 05:30 AM
тАО08-18-2000 05:30 AM
Re: Can I extend file system on-line
run:
swlist -l bundle
If you have the product number: B3929A OnLineJFS, you are ok to extend vxfs file systems on line. If not, you need to umount file system before extended. Some of the fs, can be unmounted on multiuser mode. (ex. /opt). For /var, /usr you need to go to single user mode.
As it was already said, / and /stand need contiguous space, and actually, extending / is not supported (can be done; I guess you do not need to increase root).
So, check the bundle for OnLine JFS. If you had it, go ahead. Which fs would you like to extend?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 05:39 AM
тАО08-18-2000 05:39 AM
Re: Can I extend file system on-line
So single user mode. Can I extend them to what I have before, vxfs for /var and /tmp? (from fstab they are not hfs).
I feel very grateful for the gurus answering my questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 05:52 AM
тАО08-18-2000 05:52 AM
Re: Can I extend file system on-line
First, increase the logical volume and after that extend the fs. See other posts about.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 06:00 AM
тАО08-18-2000 06:00 AM
Re: Can I extend file system on-line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-18-2000 06:06 AM
тАО08-18-2000 06:06 AM
Re: Can I extend file system on-line
lvextend -L
then
extendfs /dev/vg00/rlvol7