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 http://docs.oracle.com/cd/E19253-01/...dep/index.html that it would be as easy to mirror as a storage pool using just zpool attach pool drive1 drive2, but I found out it is not.
c3d0 being the existing drive and c7d0 the new drive.
Trying to google the answer and looking in these forums I found some information (ZFS mirroring and Create a boot disk mirror on Solaris 10 x86) on how to proceed but I just can not get it to work properly. I am probably doing something wrong with partitioning but need help figuring out what.
Here is what I have tried and where I get stuck.
If I run format and remove the EFI partition, create a new solaris2 partition and run zpool attach, the drive returns to EFI labels. Should it do that or am I missing something there too?
Yes I have.
I have tried to follow it but zpool attach replies with EFI labeled device and disk labeling requirements not met.
See my first post for exact message.
It does not matter if I use just c3d0 c7d0 or c3d0s0 c7d0s0, I get the same error message.
Am I missing something here, shouldn't this be running against slice two (s2)?
Regards
Gull04
Indeed.
---------- Post updated at 06:31 AM ---------- Previous update was at 06:25 AM ----------
So the basic answer here is this, If you are building your zpool with virtual storage (I.E. Luns provided from a SAN, or storage exported from the global zone into the zone) you would use the whole disk I.E. c1d0. If you are in the global zone you need to provide it with the correct slice (partition). In Solaris the default slice for an OS is slice 2. So therefore you need to create the rpool against slice 2.
Using # zpool attach rpool c3d0s0 c7d0s2 worked and the second disk got added to the rpool. How come the Oracle documentation only shows s0 and guides everywhere only use s0?
On to the next issue, installing grub.
So I tried s0 instead, as it is being mentioned in the oracle documentation.
So it seems that stage1 is nonexisting, but this is perhaps as it should be? I do not know how installgrub works.
Reading the installgrub manual #man installgrub it says that installgrub is deprecated and that bootadm install-bootloader is to be used instead. Reading the manual for bootadm did not make me much smarter so I tried running it but failed. Just in case I made a snapshot of my rpool before trying.
I am a bit out of my competence and comfort zone here.
How to proceed?
Last edited by Zorken; 04-11-2017 at 03:04 PM..
Reason: Post got double edited and posted somehow. Corrected for clarity.
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)
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)
Hi,
I am unable to understand that, in one of my servers while
df -kh
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris-2 98G 11G 29G 29% /
Even the Root FS filled on 40gb and system becomes unstable.
it is showing... (4 Replies)
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)
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)
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)
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:
# zpool create rpool mirror c0t0d0s0 c0t1d0s0
invalid vdev specification
use '-f' to... (6 Replies)
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)
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)
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)