Solved

Remounting a zfs pool

Posted on 2011-09-22
3
340 Views
Last Modified: 2012-05-12
I recently did a fresh Solaris 10 install to ZFS configuration.  Before doing so I backed some data on drive 2 (a zfs pool) and took the drive out before the reinstall. Did a format and the system sees drive 2.  How do I mount drive 2 back as a zpool to get that data back?
0
Comment
Question by:sajmf0408
  • 2
3 Comments
 
LVL 38

Assisted Solution

by:yuzh
yuzh earned 500 total points
ID: 36584736
You need to use "zpool import" command (might need -d or -f option) to find the ZFS filesystem in disk2.
Please have a look at the examples in:
http://blogs.oracle.com/avinashjoshi/entry/mount_opensolaris_zfs_partition_and
and
http://docs.huihoo.com/opensolaris/solaris-zfs-administration-guide/html/ch04s06.html
0
 

Accepted Solution

by:
sajmf0408 earned 0 total points
ID: 36587345
Thanks I will try this out.  Appreciate it.
0
 

Author Closing Comment

by:sajmf0408
ID: 36915484
THanks for the advise.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question