Sponsored Content
Full Discussion: Help with mirroring rpool
Operating Systems Solaris Help with mirroring rpool Post 302995731 by Zorken on Tuesday 11th of April 2017 01:57:07 PM
Old 04-11-2017
Thank you both very much for your help.

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.
Code:
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c7d0s2
raw device must be a root slice (not s2)
Unable to gather device information for /dev/rdsk/c7d0s2

So I tried s0 instead, as it is being mentioned in the oracle documentation.
Code:
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c7d0s0
cannot read stage1 file /boot/grub/stage1
Error opening /boot/grub/stage1
# ls -l /boot/grub/
total 3101
-rw-r--r--   1 root     bin           57 Oct 21  2011 default_video_modes.txt
-rw-r--r--   1 root     bin         5432 Nov 27 17:53 grub_cfg_net
-rw-r--r--   1 root     bin      1032704 Nov 27 17:53 grub2netx64.efi
-rw-r--r--   1 root     bin       243848 Nov 27 17:53 pxegrub2
-rw-r--r--   1 root     sys       153272 Nov 27 17:53 splash.jpg

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. Smilie
Code:
# bootadm install-bootloader c7d0s2
bootadm: GRUB2 installation failed

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.
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
APT-MIRROR(1)						User Contributed Perl Documentation					     APT-MIRROR(1)

NAME
apt-mirror - apt sources mirroring tool SYNOPSIS
apt-mirror [configfile] DESCRIPTION
A small and efficient tool that lets you mirror a part of or the whole Debian GNU/Linux distribution or any other apt sources. Main features: * It uses a config similar to apts sources.list * It's fully pool comply * It supports multithreaded downloading * It supports multiple architectures at the same time * It can automatically remove unneeded files * It works well on overloaded channel to internet * It never produces an inconsistent mirror including while mirroring * It works on all POSIX compliant systems with perl and wget COMMENTS
apt-mirror uses /etc/apt/mirror.list as a configuration file. By default it is tuned to official Debian or Ubuntu mirrors. Change it for your needs. After you setup the configuration file you may run as root: # su - apt-mirror -c apt-mirror Or uncomment line in /etc/cron.d/apt-mirror to enable daily mirror updates. FILES
/etc/apt/mirror.list Main configuration file /etc/cron.d/apt-mirror Cron configuration template /var/spool/apt-mirror/mirror Mirror places here /var/spool/apt-mirror/skel Place for temporarily downloaded indexes /var/spool/apt-mirror/var Log files placed here. URLs and MD5 summs also here. CONFIGURATION EXAMPLES
The mirror.list configuration supports many options, the file is well commented explinging each option. here are some sample mirror configuration lines showing the various supported ways : Normal: deb http://example.com/debian stable main contrib non-free Arch Specific: ( many other arch's are supported ) deb-powerpc http://example.com/debian stable main contrib non-free HTTP and FTP Auth or non-standard port: deb http://user:pass@example.com:8080/debian stable main contrib non-free Source Mirroring: deb-src http://example.com/debian stable main contrib non-free ORIGINAL AUTHOR
Dmitry N. Hramtsov <hdn@nsu.ru> CURRENT AUTHORS
Dmitry N. Hramtsov <hdn@nsu.ru> Brandon Holtsclaw <me@brandonholtsclaw.com> perl v5.14.2 2012-01-28 APT-MIRROR(1)
All times are GMT -4. The time now is 10:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy