- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: move disk from one server to another
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
04-14-2003 02:04 PM
04-14-2003 02:04 PM
I have two D-class machines No 1 and No 2 with hot swappable disks.
Machine No 1 running HPUX 10.20 and Machine No 2 running HPUX 11.00
I need to move one of the disks from No 1 to No 2
The specific disk is mirrored and I am planning to use the copy (cancel the mirroring)
Since No 1 is production I cannot afford to take the vg???s on the specific disk offline
What will be the right procedure to do so?
Thanks,
A.K.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 02:20 PM
04-14-2003 02:20 PM
Re: move disk from one server to another
e.g. lvreduce -m 0 /dev/vg01/lvol1 /dev/dsk/c1t8d0
Man lvreduce for details.
2) vgreduce the volume group specifying the disk that you want to remove.
3) Because this is a hot-pluggable disk, you can simply remove it at this point.
The smart play is to acquire another disk on the used market - should be very cheap. I just can't see running a production box (even for a short period) unmirrored. That's just asking for it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 02:52 PM
04-14-2003 02:52 PM
Re: move disk from one server to another
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 07:53 PM
04-14-2003 07:53 PM
Re: move disk from one server to another
You can use the command lvreduce and vgreduce to do this without deactivating Volumegroup.
in this case disk will not be having any data.
do you want to remove the disk with data ?
SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 06:14 AM
04-15-2003 06:14 AM
Re: move disk from one server to another
So I will add that not to worry about the mirroring I have backups
I need to do this procedure because I need the data on this specific disk to be moved to the No 2 server with the HP 11.00
I need the procedure from how to cancel mirroring until loading of the disk to the other server and restore all the information reside on this disk
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 06:24 AM
04-15-2003 06:24 AM
Re: move disk from one server to another
Since you need the data, why not export it and use NFS?
I am also not allowed and have not been allowed to take production servers out of service for years. I sympathize with your situation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2003 06:39 AM
04-15-2003 06:39 AM
SolutionOn server 1
===========
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c2t2d0
==> Repeat for all othe LVs
# vgreduce vg00 /dev/dsk/c2t2d0
==> Delete it from vg00
# lvlnboot -v
==> Check to make sure it's gone.
At this ponit before you physically move c2t2d0 over to server 2, try to import the disk back to server 1 itself. If it fails then at least you knowit's not worth trying to move the disk at all.
Still on server 1
=================
# mkdir /dev/vgtest
# mknod /dev/vgtest/group c 64 0x010000
# vgimport -v /dev/vgtest /dev/dsk/c2t2d0
# vgchange -a y /dev/vgtest
If the above works the next step is try to mount the lvols.
# mkdir /test
# mount /dev/vgtest/lvol1 /test
It all that works, you would have a better chance of moving it to server 2. Before you move it do this ..
# umount /test
# vgchange -a n /dev/vgtest
# vgexport -m /tmp/mapfile /dev/vgtest
==> Remove VG entry fr lvmtab and all its devices files
Now move the disk over to server 2 and on server 2 run ..
# mkdir /dev/vgtest
# mknod /dev/vgtest/group c 64 0x010000
# ioscan -fnC disk
==> Take note of the device path created for this disk, lets assume it's still c2t2d0. Copy /tmp/mapfile from server 1 to server 2.
# vgimport -m /tmp/mapfile /dev/vgtest /dev/dsk/c2t2d0
# vgchange -a y /dev/vgtest
It that works you can now mount the LVs.