- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- decrease the size of an lvm
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-20-2008 07:47 AM
02-20-2008 07:47 AM
I have 3 lvms mounted ---
lvmA has filesystem - /fsA
lvmAa has filesystem - /fsA/a
lvmAb has filesystem - /fsA/b
If I remove lvmA and /fsA (not the directory, just the fs) will it affect lvmAa(/fsA/a) and/or lvmAb(/fsA/b) ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2008 07:57 AM
02-20-2008 07:57 AM
Re: decrease the size of an lvm
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2008 07:58 AM
02-20-2008 07:58 AM
SolutionYou would have to :
a) Run a backup (I hope before doing this sort of thing!)
b) Use umount to unmount all 3 filesystems
c) use lvremove to get rid of lvmA
d) Use mkdir to create the mount points /fsA/a and fsA/b, which won't be there any more (they were in the filesystem you've gotten rid of)
e) Use mount to mount up the 2 remaining filesystems.
So it will affect the filesystems in the you'll need to unmount/mount them, but their contents will be unchanged.
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2008 09:00 AM
02-20-2008 09:00 AM
Re: decrease the size of an lvm
You will have to unmount /fsA/a and /fsA/b, then /fsA
lvremove lvmA and update fstab.
Then mkdir /fsA/a and /fsA/b, then remount those 2 file systems....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2008 09:03 AM
02-20-2008 09:03 AM
Re: decrease the size of an lvm
/fsA is a parent of /fsA/a and /fsA/b
They all have to be unmounted in order to unmount /fsA
If you want to remove filesystem lvmA then you will have to create the mount points of /fsA/a and /fsA/b in order to remount those. The data in lvmAa and lvmBb will not be effected as you are only removing lvmA.
Filesystems are independant of each other but the mount points in your case are not. They are dependant and the parent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2008 09:21 AM
02-20-2008 09:21 AM