- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem Extension on /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
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
тАО01-05-2005 02:29 PM
тАО01-05-2005 02:29 PM
Filesystem Extension on /usr
Currently, I would like to increase fileystem /usr online in volume group vg00 having PE size of 8MB from size of 1GB (1024000KB) to 1105920KB. That is to increase by 80MB.
The filesystem /usr is currently mirrored in the following 2 harddisks /dev/dsk/c4t6d0 (primary) and /dev/dsk/c7t6d0 (secondary)
Query: How do I proceed with it?
Thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:51 PM
тАО01-05-2005 02:51 PM
Re: Filesystem Extension on /usr
Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:56 PM
тАО01-05-2005 02:56 PM
Re: Filesystem Extension on /usr
I do have that. Just wondering how to take care of the mirroring portion.
Thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 02:57 PM
тАО01-05-2005 02:57 PM
Re: Filesystem Extension on /usr
All you have to do is an lvextend and specify the total new size of the LVOL and then an fsadm -F vxfs -b to grow the filesystem. Because you have to ask, by far, the easiest and most foolproof way to do this is with SAM -> Disks and Filesystems -> Logical Volumes ->Actions -> Increase Size. It will do all the steps for you.
If you do not have OnlineJFS then you must bring the system up in single-user mode and run the commands lvextend and extendfs (located in /sbin).
Man lvextend, fsadm_vxfs, extendfs_vxfs (assuming /usr is a vxfs filesystem) for details. Even if you use SAM, you should understand the underlying commands.
Finally, it seems a little silly to extend a 1GB filesystems by a mere 80MB. If you have to figure that closely, you are probably already in trouble.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 03:00 PM
тАО01-05-2005 03:00 PM
Re: Filesystem Extension on /usr
I agree with Clay in that increasing 1000MB to 1080 MB does seem kind of silly, but if that's what you want......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 03:19 PM
тАО01-05-2005 03:19 PM
Re: Filesystem Extension on /usr
Just performed the following,
#lvextend -L 1080 /dev/vg00/lvol8 /dev/dsk/c4t6d0 /dev/dsk/c7t6d0
#fsadm -b 1105920 -F vxfs /usr
Query: Correct me if wrong, from your replies the following works as well?
#lvextend -L 1080 /dev/vg00/lvol8 /dev/dsk/c4t6d0
#fsadm -b 1105920 -F vxfs /usr
thanks/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 06:22 PM
тАО01-05-2005 06:22 PM
Re: Filesystem Extension on /usr
#lvextend -L 26000 /dev/vg00/lvol7
#fsadm -F vxfs -b 26000 /usr
let try.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 06:47 PM
тАО01-05-2005 06:47 PM
Re: Filesystem Extension on /usr
If you have volume group with strict allocation policy off then the command you wrote will create both copy in same disk.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2005 09:24 PM
тАО01-05-2005 09:24 PM
Re: Filesystem Extension on /usr
Also you can use 'M' in fsadm to keep it simpler.
#lvextend -L 1080 /dev/vg00/lvol8
#fsadm -b 1080M -F vxfs /usr
Regards,
Trond