HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving disks
Operating System - HP-UX
1837228
Members
2295
Online
110115
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
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
08-17-2005 09:38 PM
08-17-2005 09:38 PM
moving disks
Hello!
I have 2 server and two scsi JBOD storage, both server connect to both storage, first server use 5 disks and mirrored to other storage and second server use 6 disks and mirrored to other storage.
I would like divide the two storage, the first server connect to first storage and second server connect to second storage. I have to move disks between the storage because the disks mirrored between two storage, i have to put disks and the mirror disks in same storage.
How can i do this?
I have 2 server and two scsi JBOD storage, both server connect to both storage, first server use 5 disks and mirrored to other storage and second server use 6 disks and mirrored to other storage.
I would like divide the two storage, the first server connect to first storage and second server connect to second storage. I have to move disks between the storage because the disks mirrored between two storage, i have to put disks and the mirror disks in same storage.
How can i do this?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 09:55 PM
08-17-2005 09:55 PM
Re: moving disks
If I understand you correctly you currently have something similar to a service guard cluster (where both servers can see all disks)which you are wanting to seperate.
The problem you have is whether you can control the SCSI ID's allocated to each slot in your JBOD. If you can keep thre SCSI ID's and paths the same then you could get away with moving the disks has planned, other wise the easiest method having performed a backup of all you data (in case a disk fails) is to lvreduce your lvols to remove the mirror from the storage you want to disconnect, vgreduce the vg to remove the disks from the volume group. Move your disks then vgextend and lvextend to recreate your mirrored data.
The problem you have is whether you can control the SCSI ID's allocated to each slot in your JBOD. If you can keep thre SCSI ID's and paths the same then you could get away with moving the disks has planned, other wise the easiest method having performed a backup of all you data (in case a disk fails) is to lvreduce your lvols to remove the mirror from the storage you want to disconnect, vgreduce the vg to remove the disks from the volume group. Move your disks then vgextend and lvextend to recreate your mirrored data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 10:06 PM
08-17-2005 10:06 PM
Re: moving disks
Hi,
First, backup ... backup ... backup.
After that you need to find out which harddisk that has been used by the server1 & server2.
Once you already know, lvremove the mirror so server1 only with the data on storage1 & server2 only with the data on storage2. And vgreduce, to reduce the disks on the storage.
After this shutdown both system and arrange the disk, cause the server1 only need 10 disks on storage1 and server2 need 12 disks on storage2 (since you need to mirror the disks again). But make sure you remove the unused one.
Start the system again, cross-check whether you still be able to use the data on the storage as per normal. And last one is create the mirror again (vgextend and lvextend).
Hope this information can help you.
Cheers,
AW
First, backup ... backup ... backup.
After that you need to find out which harddisk that has been used by the server1 & server2.
Once you already know, lvremove the mirror so server1 only with the data on storage1 & server2 only with the data on storage2. And vgreduce, to reduce the disks on the storage.
After this shutdown both system and arrange the disk, cause the server1 only need 10 disks on storage1 and server2 need 12 disks on storage2 (since you need to mirror the disks again). But make sure you remove the unused one.
Start the system again, cross-check whether you still be able to use the data on the storage as per normal. And last one is create the mirror again (vgextend and lvextend).
Hope this information can help you.
Cheers,
AW
now working, next not working ... that's unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2005 10:59 PM
08-17-2005 10:59 PM
Re: moving disks
Hi gabor,
I understood it as follows:
u hv 2 servers A,B and 2 jbods C,D.
Now C and D both contains 11 disks.
A access 5 on C and mirrored this on the 5 of D whereas B access 6 on C which are mirrored on remaining 6 of D.
1. Backup you entire data on both the storages. Make it as Backup one (5 disks) and backup two ( 6 disks )
2. Break the mirrors. "lvreduce -m 0" see man lvreduce.
Now you have 11 free disk on D.
3. Restore your backup two on D and make hardware connection accordingly. Before restoring backup make sure you create identical LUNS/VG's/LV's/FS's structure on D as required by your backup two. Then start restoring the backup.
4. No need to restore backup one since it is untouched.
5. Initialize your 6 disk on C and 5 disks on D. This will make 6 free in C and 5 free on D.
That's all.
Hope that helps.
Regards,
3.
I understood it as follows:
u hv 2 servers A,B and 2 jbods C,D.
Now C and D both contains 11 disks.
A access 5 on C and mirrored this on the 5 of D whereas B access 6 on C which are mirrored on remaining 6 of D.
1. Backup you entire data on both the storages. Make it as Backup one (5 disks) and backup two ( 6 disks )
2. Break the mirrors. "lvreduce -m 0" see man lvreduce.
Now you have 11 free disk on D.
3. Restore your backup two on D and make hardware connection accordingly. Before restoring backup make sure you create identical LUNS/VG's/LV's/FS's structure on D as required by your backup two. Then start restoring the backup.
4. No need to restore backup one since it is untouched.
5. Initialize your 6 disk on C and 5 disks on D. This will make 6 free in C and 5 free on D.
That's all.
Hope that helps.
Regards,
3.
You need to know a lot to actually know how little you know
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