HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving a file system
Operating System - HP-UX
1829182
Members
2388
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-18-2003 08:01 AM
03-18-2003 08:01 AM
I wish to move my file system from disk on a HVD10 (36 GB drives) to a SAN attached EMC 8430 (presenting 8.3 GB drives). I have mirror disk but am unsure of the size differance and being able to mirror them and breaking the mirror???
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2003 08:06 AM
03-18-2003 08:06 AM
Solution
If you have MirrorDisk/UX then it will be very easy to actually move your file system over to your new EMC. All you have to do is :
#vgextend /dev/vgname /dev/dsk/EMCdisks
#lvextend -m 1 /dev/vgname/lvname /dev/dsk/EMCdisk
#lvreduce -m 0 /dev/vgname/lvname /dev/dsk/HVDdisk
#vgreduce /dev/vgname /dev/dsk/HVDdisks
That way, you mirror onto your new disks and then break the mirror from HVD so your file system runs from your EMC disks. In this case, whatever size doesn't matter. The only concern you may have is making you have room to grow your Volume Group with the number of disks that you need to add from EMC.
#vgextend /dev/vgname /dev/dsk/EMCdisks
#lvextend -m 1 /dev/vgname/lvname /dev/dsk/EMCdisk
#lvreduce -m 0 /dev/vgname/lvname /dev/dsk/HVDdisk
#vgreduce /dev/vgname /dev/dsk/HVDdisks
That way, you mirror onto your new disks and then break the mirror from HVD so your file system runs from your EMC disks. In this case, whatever size doesn't matter. The only concern you may have is making you have room to grow your Volume Group with the number of disks that you need to add from EMC.
Cooperation is doing with a smile what you have to do anyhow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2003 08:23 AM
03-18-2003 08:23 AM
Re: Moving a file system
Just use:
cp -p -r /old_dir /new_dir
...this way you're relying upon the built in file system safeties.
Sometimes largefiles over 2 gb becomes an issue. In this case you have to use fbackup:
cd /destination
fbackup -i /source -f - | frecover -x -X -f -
(* Note all of the "-" (* dashes *) are important. *)
Raid on a disk array stripes out across several disks, making the concern for disk size irrelevant.
cp -p -r /old_dir /new_dir
...this way you're relying upon the built in file system safeties.
Sometimes largefiles over 2 gb becomes an issue. In this case you have to use fbackup:
cd /destination
fbackup -i /source -f - | frecover -x -X -f -
(* Note all of the "-" (* dashes *) are important. *)
Raid on a disk array stripes out across several disks, making the concern for disk size irrelevant.
Support Fatherhood - Stop Family Law
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP