- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Reduced Mirrored FileSystem
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
10-12-2004 05:55 PM
10-12-2004 05:55 PM
Reduced Mirrored FileSystem
I need to reduce the filesystem size of the current mirrored filesystem /mnt/data04 to 4GB
/dev/vg02/lvol4 8192000 873590 6861014 11% /mnt/data04
lvdisplay -v /dev/vg02/lvol4 |more
--- Logical volumes ---
LV Name /dev/vg02/lvol4
VG Name /dev/vg02
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 8000
Current LE 2000
Allocated PE 4000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 2000 2000
/dev/dsk/c3t0d0 2000 2000
I will be performing the following steps,
#fsadm -d -e -D -E /mnt/data04
#fsadm -b 4194304 -v vxfs /mnt/data04
#lvreduce -L 4096 /dev/vg02/lvol6
Will it be ok and the mirrored copy will also be taken care of?
thanks n regards/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 06:34 PM
10-12-2004 06:34 PM
Re: Reduced Mirrored FileSystem
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 07:41 PM
10-12-2004 07:41 PM
Re: Reduced Mirrored FileSystem
Online filesystem reduction using fsadm will incur certain amount of data corruption risk?
Is it beter to perform a backup and restore of data to a reduced filesystem instead?
Advises to this is appreciated.
regards/cliff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 07:51 PM
10-12-2004 07:51 PM
Re: Reduced Mirrored FileSystem
Yes it is possible to corrupt your system. If you have space in an other filesystem you could create a copy online.
Close the app using the filesystem /mnt/data04
Create a online or tape backup.
# find /mnt/data04 cpio -pcmudv /copy
fsadm and lvreduce
copy the data back to the orginal filesystem and restart your app.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2004 08:34 PM
10-12-2004 08:34 PM
Re: Reduced Mirrored FileSystem
I never come across problem of data corruption usinif fsadm for safer side you can keep a backup copy.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:04 AM
10-13-2004 01:04 AM
Re: Reduced Mirrored FileSystem
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2004 01:43 AM
10-13-2004 01:43 AM
Re: Reduced Mirrored FileSystem
I have reduced it quite a few times using onlineJFS and I didn't have any issues. But 'reducing' is always a risk. So, I suggest you keep a good backup of the filesystem.
In future, you do not have to convert the size into blocks to reduce. fsadm will allow you to specify the space in MB.
fsadm -b 4096m /mnt/data04
lvreduce -L 4096 /dev/vg02/lvol6
Make sure you have atleast 10% free space in that filesystem.
-Sri