- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Online Filesystem Extend/Reduce using LVM using sa...
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-30-2007 09:34 PM
01-30-2007 09:34 PM
is it possible to reduce a filesystem using sam.
I can't find the option to change a filesystem, just to create
can someone sent me in de right direction?
kind regards
Heiko
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 10:25 PM
01-30-2007 10:25 PM
Solutionit's not possible to extend/reduce filesystem size by SAM, it just is possible to extend (note: no reduce) the logical volumes.
What about using CLI to extend/reduce filesystems?
I think SAM is a great tool to change kernel parameters and few other operations but I don't like it when changing LVM or networking values.
Definitely I would suggest you to use the classic command line.
Since you are asking about online extension/reduction I suppose you have OnlineJFS installed on your system already:
a)If extending:
1- extend logical volume by lvextend:
lvextend -L
2- extend filesystem by fsadm:
fsadm -F vxfs -b
b)If reducing
1- reduce filesystem:
fsadm -F vxfs -b
2- reduce logical volume by lvreduce:
lvreduce -L
However take care when reducing on size values.
Without OnlineJFS installed you can only extend the filesystem (umount/lvextend/extendfs/mount), if you want to reduce you have to recreate it.
Good luck...
Best regards,
Fabio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 10:37 PM
01-30-2007 10:37 PM
Re: Online Filesystem Extend/Reduce using LVM using sam
There is no option in sam to reduce lv but you can use the lvreduce command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 12:58 AM
01-31-2007 12:58 AM
Re: Online Filesystem Extend/Reduce using LVM using sam
swlist -l product | grep JFS
Without this product, the filesystem must be reduced like this:
- backup the filesystem
- if important, backup the filesystem one more time
- umount /filesystem
- use lvreduce on the filesystem's lvol
- newfs the rlvol
- mount the empty filesystem
- restore the files
But even with Online JFS, the fsadm command can corrupt the filesystem unless the very latest version of Online JFS is used and the filesystem VxFS version is 4 or more. Always use the above steps unless you are up to date with Online JFS, VxFS filesystem versions and patches. You can see your filesystem version with the fstyp -v command:
fstyp -v /dev/vg00/rlvol4
NOTE: lvreduce by itself will DESTROY any filesystem on the lvol. The lvreduce command literally removes disk space but is not aware of any files or directories and will NOT warn of the consequences.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2007 03:27 AM
02-01-2007 03:27 AM
Re: Online Filesystem Extend/Reduce using LVM using sam
I suggestion : reorgonise your filesystem before reducing it.
See the option -d and -e of the fsadm_vxfs command. It's works pretty good.
man fsadm_vxfs
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2007 12:43 AM
04-19-2007 12:43 AM
Re: Online Filesystem Extend/Reduce using LVM using sam
it was no big deal afterwards, but i'm glad with al the responses now i could perform the action during operating hours.
Which also made de customers happy
thnx again