Help with mirroring rpool


 
Thread Tools Search this Thread
Operating Systems Solaris Help with mirroring rpool
# 8  
Old 04-12-2017
Hi,

There is an excellent tutorial on the GRUB boot loader here you should work your way through the page, I believe it will answer most of your questions.

Regards

Gull04
# 9  
Old 04-12-2017
Thanks once again to you both. Will study and try to get it to work and will get back with the results. Smilie
# 10  
Old 07-01-2017
I thought I should update this post with how it all ended.

After last time I got stuck with not being able to install the bootloader, so I settled for the time being with at least having the rpool mirrored, providing a little higher level of reliability and safety than before.

Today I dug into the problem again determined to fix it.

The problem from before was that bootadm did not want to install to slice 2.
So I detached the disk from the rpool, applied a default solaris fdisk partition using
Code:
# fdisk -B c7t1d0p0

I then checked the partition table using format on both the original rpool disk and the one I wanted to mirror with and noticed that only the original had a slice called root at 0.
So modified the slice to be called root as well, and made it span almost the entire disk.
After that I reattached it to the rpool using
Code:
# zpool attach rpool c3d0s0 c7d0s0

which worked.

After that I reread the man pages of bootadm once more and discovered that you should use the -M flag for x86.
So I installed the bootloader using
Code:
# bootadm install-bootloader -M c7d0s0

This time it went through without any complaints so I turned off the computer and switched the disk priority in BIOS so that the new disk was first and a storage disk second, to make sure that it would not switch to the original bootdrive.
After a reboot i came to the familiar GRUB menu so it worked with booting! Smilie

Shut off, went back to bios and changed the disk priority to the new disk as first and the old bootdrive as second and the storage drives after and restarted the computer and it booted once again all the way! Smilie

I know that you in a earlier reply told me to use slice 2, but since bootadm complained about that I decided to try slice 0 instead which worked. Can that cause me any trouble down the road or am I fine as long as the computer boots and zpool status is fine?

Thought I might finish by adding two resources that helped me a bit on the way.
Oracle Solaris 11 Express: Mirroring Your ZFS Root Pool
and
https://serverfault.com/questions/36...of-boot-driveĻ
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

Need help to understand zfs rpool space allocation

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)
Discussion started by: anuragr
4 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

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: # zpool create rpool mirror c0t0d0s0 c0t1d0s0 invalid vdev specification use '-f' to... (6 Replies)
Discussion started by: reseki
6 Replies

8. 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

9. 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

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