Create rpool manually


 
Thread Tools Search this Thread
Operating Systems Solaris Create rpool manually
# 1  
Old 07-30-2014
Create rpool manually

Hi All;

My server's root partition was encapsulated with VxVM, I try to convert it to ZFS. I successfully de-encapsulated root. Now I try to mirror 2 root disks using ZFS. But I receive following error:

Code:
# zpool create rpool mirror c0t0d0s0 c0t1d0s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
#
#
# zpool create -f rpool mirror c0t0d0s0 c0t1d0s0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
#
#
# zpool status rpool
cannot open 'rpool': no such pool

How I can mirror my root disk using ZFS under these circumstances?

Thanks a lot.
# 2  
Old 07-31-2014
What's the output from "zpool list" and "zfs list -t all"?
# 3  
Old 07-31-2014
Code:
# zpool list
no pools available
# zfs list -t all
no datasets available
#

# 4  
Old 07-31-2014
It is unclear what you are exactly trying to achieve but it seems your root file system is currently UFS on c0t0d0s0. If that is the case, creating a ZFS pool using this very slice would quickly corrupt your file system and crash your OS.
# 5  
Old 07-31-2014
Correct. My root file system is ufs now and I want to convert it to ZFS w/o loosing data. I just asked if there is a way to do that.
# 6  
Old 07-31-2014
I don't think you can reformat your root filesystem while still using your root filesystem.
# 7  
Old 07-31-2014
Maybe lucreate. Use it to create a new ZFS boot environment.

I think you can use the disk you wanted to use as a mirror to your current root drive, switch to the new root disk, then use the current root disk as a mirror for the new boot environment's root disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to increase the size of rpool in Solaris 11?

Hi Please let me know how to increase the size of rpool in solaris 11 in ldom. I know how to map the new LUN to LDOM after that please let me know the procedure to increase the rpool and how to identify new disk in OBP level of ldom as I need to set the new/lun to be my new boot device. (5 Replies)
Discussion started by: hb00
5 Replies

2. Solaris

Trying to create ZFS slice on rpool

I have a 240GB disk as rpool. I have installed Solaris 11.3 to a partition which is 110GB. Now I have another 130GB which is unallocated. I want to use that additional space as a temporary folder to be shared between Solaris and Linux. The additional space had no /dev/dsk/c2t4... entry so I used... (8 Replies)
Discussion started by: kebabbert
8 Replies

3. Solaris

Help with mirroring rpool

Hello, I need some help mirroring my rpool. I have a 60gb ssd running the rpool alone and want to mirror it for redundancy so I bought a 120gb ssd that I found for a good price. 60gb drives aren't as easy to find at a good price anymore it seems. I (a bit naively) thought after reading... (9 Replies)
Discussion started by: Zorken
9 Replies

4. Solaris

Zfs rpool size

Hi everyone, I am doing housekeeping of my Solaris 11 for zfs snapshot to reduce the snapshot size. I have already cleared the / file system, however the rpool size still not reduced. Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-2 98G 6.9G ... (2 Replies)
Discussion started by: freshmeat
2 Replies

5. Solaris

Resize rpool

Hi, I have rpool about 500G. So i want to use 210G from rpool and assign mount point as /database. I seek in google and couldn't found it. Does anyone know how to achieve it? Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies

6. Solaris

How to access content of problematic rpool ?

Hi guys, I have a Solaris 10 x86 server with 2 physical disks. It had a ZFS rpool on the first disk c0t0d0s0. The server stopped booting with some error like "Cannot find bootfile". I booted with Solaris DVD and re-installed the operating system on the second disk with a different pool... (0 Replies)
Discussion started by: ARPcPro
0 Replies

7. Solaris

ZFS rpool physical disk move

I'd like to finish setting up this system and then move the secondary or primary disk to another system that is the exact same hardware. I've done things like this in the past with ufs and disk suite mirroring just fine. But I have yet to do it with a zfs root pool mirror. Are there any... (1 Reply)
Discussion started by: Metasin
1 Replies

8. Solaris

How to change hostid saved in rpool?

Hi, We have a Sun M5000. I am now trying to boot the second system domain by using the boot disk (a mirrored boot disk actually) of the first domain (if succeed then no OS installation is needed for the second domain). I got the following errors: SPARC Enterprise M5000 Server, using Domain... (21 Replies)
Discussion started by: aixlover
21 Replies

9. Solaris

"flar create" produces a tiny flar image of rpool

Hi, can someone help with the following? I got 1x146GB disk which is span by just one zfs rpool. When issue for example: as you can see in above output the flar is very small, just around 10KB rpool with all data sets has several GB so this can't be good image. This is on the Solaris 10... (3 Replies)
Discussion started by: TomSu
3 Replies

10. Solaris

rpool issue

My system is showing following .. how can i remove this rpool .. ? zpool status -v rpool pool: rpool state: UNAVAIL status: One or more devices could not be opened. There are insufficient replicas for the pool to continue functioning. action: Attach the missing device and... (0 Replies)
Discussion started by: fugitive
0 Replies
Login or Register to Ask a Question