- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvextend mishap
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-25-2001 08:23 AM
01-25-2001 08:23 AM
accidentally I extended the wrong LV when I issued the command
# lvextend -l 750 /dev/vgz01/lvol2
Actually, ment was rather lvol20 in that same VG.
The PE size of the VG was set to 8MB, so that I know have some 6GB of wasted disk space.
Unfortunately, as always in such circumstances, I haven't previously saved the dump of vgdisplay -v vgz01.
Thus I cannot tell how many LEs lvol2 used to have before.
A bdf of lvol2 reveals the following:
# bdf /dev/vgz01/lvol2
Filesystem kbytes used avail %used Mounted on
/dev/vgz01/lvol2 516096 184502 331594 36% /usr/sap/Z01/DVEBMGS01
Now if I devide those 516096B by 1024 and again by 8 I get some 63 LEs.
Still the warning of possible data loss somewhat scares me to isssue
# lvreduce -l 63 /dev/vgz01/lvol2
Is there a way to make sure how big the LV was before?
Maybe from the data an fstyp -v on the LV displays?
So far I haven't extended the filesystem itself (i.e. no extendfs or fsadm in the case of onlineJFS).
TIA
Ralph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 08:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 08:44 AM
01-25-2001 08:44 AM
Re: lvextend mishap
of course, you probably should back up your data first, including your vg config info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 09:07 AM
01-25-2001 09:07 AM
Re: lvextend mishap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 09:17 AM
01-25-2001 09:17 AM
Re: lvextend mishap
check into to that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 06:49 AM
02-12-2001 06:49 AM
Re: lvextend mishap
But I haven't been able to login to the forum in order to assign points or reply for days lately!
My assumptions about the original size were correct and I was able to do the lvreduce withaout any data loss at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 08:31 AM
02-15-2001 08:31 AM