- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help with reducing a logical volume
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-10-2008 05:47 PM
тАО01-10-2008 05:47 PM
/production/system/data1 size 60gb
#fsadm -F vxfs -b 40000m /production/system/data1
#fsadm -F vxfs -d -D -e -E /production/system/data1
I think nothing is corrupted, I can see all the files
When I try to make lvreduce I have the next message:
# lvreduce -L 40000 /dev/vg01/lvol9
When a logical volume is reduced useful data might get lost;
do you really want the command to proceed (y/n) : n
Logical volume "/dev/vg01/lvol9" is not reduced.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf
Can I reduce this logical volume without the lose of data, I can not umount the filesystem!!
THIS IS URGENT!!
I appreciate any suggestion :S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2008 06:05 PM
тАО01-10-2008 06:05 PM
Re: Help with reducing a logical volume
> Can I reduce this logical volume without the lose of data, I can not umount the filesystem!!
No, generally not. A logical volume is a container for a filesystem. If you think of it that way, shrinking (reducing the size) of the container cuts off part of the filesystem contained therein.
If you have enlarged a logical volume, but not correspondingly increased the size of the filesystem within, then you can safely reduce the logical volume to its original size.
Furthermore, a physical disk that belongs to one volume group cannot be moved to another volume group. Thus, by extension, a logical volume belonging to one volume group cannot be moved to another volume group. Backup or copy the filesystem data from one logical group to another.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2008 06:18 PM
тАО01-10-2008 06:18 PM
Re: Help with reducing a logical volume
Even with OnlineJFS, it is always prudent
to reduce the file system by saving
the original data on tape or somewhere else.
The fsadm(1) command can corrupt the file
system unless newer version of Online JFS
(higher than 3.1) is used AND VxFS version
is 4 or higher.
I am not sure if you are up-to-date with OnlineJFS, VxFS versions and patches.
Check your file system version with the
fstyp(1) command:
fstyp -v /dev/vg01/rlvol9
lvreduce(1) by itself will destroy a file system on the LV.
Since you ran the "fsadm -D -e..." as second
command, there is a good possibility
that things can go wrong with lvreduce(1).
The golden rule is to defragment the file system firstly but it is too late for you
now.
If all your files are still intact, I
suggest urgent backups!
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2008 06:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2008 06:58 AM
тАО01-11-2008 06:58 AM
Re: Help with reducing a logical volume
lvreduce really works with onlineJFS.
Thanks to everybody.
Regards