This content has been marked as final. Show 8 replies
there is not much information to work with here. If the new machine has access to the old disks (either because you attached them locally or they are on a san anyway) you should be able to mount the old zpool with "zpool import". You may have to force this if the zpool has not been shut down or exported correctly. You also may have to specify a new name if a zpool with the same name already exists on the new machine
I think I need more info to direct you better:
Are you saying that you need to move the data from the old system to the new system, or just mount it from the old system?
If the pool content is available from the old system, that would be good to know, but if not on the network, then that would be difficult.
If the pool devices could be moved from the old system to the new system, that might work.
The old system is in what state, multiuser mode or still crashed?
i need to mount a new disk with /home2 data to the new system
the old system is not in the network and is corrupted but i was able to login as a single user, and copy the /home2 to a new disk.
moved the zpool /home2 disk to the new system, i dont know how to mounted
It will be greatly appreciated !
Edited by: 1502 on Feb 21, 2013 3:22 PM
I think you said that the old system isn't on the network. If the home2 file system is in a pool on a separate disk, then you should be able to disconnect the disk from the old system and attach it to the new system and run these commands:
# zpool import -f pool-name
If the pool name is identical to an existing pool name on the new system, use this command:
# zpool import -f pool-name new-pool-name
If the home2 file system is just data on the disk, then don't create a pool on the disk. It will remove it when the pool is created. So, if the above steps to import the pool won't work, you'll need a different solution.