Moving to RAID1


 
Thread Tools Search this Thread
Operating Systems Solaris Moving to RAID1
# 1  
Old 11-18-2015
Moving to RAID1

Is there an easy, safe way to move the system to RAID1 on sparc solaris 10?
(without reinstalling).
thanks.
# 2  
Old 11-18-2015
The first question is what sort of RAID1 on you talking; hardware built-in (using raidctl command) , hardware add-in (using third party software) or software (using meta)?

What hardware is it?

Are you wanting to mirror the root filesystem or a data drive?
This User Gave Thanks to hicksd8 For This Post:
# 3  
Old 11-18-2015
I would prefer the first one (hardware built-in), but don't think its supported. Server is Sun Fire V125. There are several slices (single disk), I'd like to mirror them all if possible, or at least root.
its running posgresql server.
thanks.
# 4  
Old 11-19-2015
Looking up the Sunfire V125 it appears that you have to resort to software mirroring (meta) because there is no built-in hardware RAID controller.

Therefore the first questions are:

Q: Are all the cylinders of the current disk allocated? Is there any unallocated space?

The SVM requires a very small slice to keep it's metadata on (typically circa 10MB) which also means...

Q: Are all slices allocated? For example is slice 7 not in use?

If you have a free slice but no cylinders it's possible that you can shrink one slice by a few cylinders in order that you can create your metadata slice.

Here's some reading material (one link is a thread on this great forum plus two others to complement) to give you the idea. Yes, you can do this without reinstallation.

root disk mirroring in solaris volume manager for solaris 10

Solaris Volume Manager (SVM)

[How To] Mirror Root Disk with Solaris Volume Manager (SVM) | UNIX Note

---------- Post updated at 04:33 PM ---------- Previous update was at 11:42 AM ----------

What filesystem is used? UFS or ZFS?

Last edited by hicksd8; 11-19-2015 at 08:18 AM..
These 2 Users Gave Thanks to hicksd8 For This Post:
# 5  
Old 11-20-2015
thanks.

there isn't any unallocated space.
slice 7 seems to be unmounted, it is 71232 sectors large.
slice 6 is empty, size about 40G, contains only 'lost+found'.

filesystem is UFS.
# 6  
Old 11-20-2015
There is an unwritten convention that means people use slice 7 for the meta. The meta slice only needs to be circa 10MB but there is no maximum, you just waste the disk space.

If slice 6 only has lost+found on it and is not mounted either then it's just a new unused filesystem. So you could shrink slice 7 to, say, 20MB and increase slice 6 with all the space released from slice 7. That means editing the VTOC within 'format' after booting from cdrom into single user. Obviously, DON'T alter any of the production slices!!

Being professional we should do that immediately after the backup has been run in case anything goes wrong. The same applies to actually setting up the mirror; always backup first.

If you want to use slice 7 as it is you can. It just wastes a ton of space.
These 2 Users Gave Thanks to hicksd8 For This Post:
# 7  
Old 11-20-2015
I would maybe go a bit more modern and use ZFS... You can find some usefull stuff here:

https://docs.oracle.com/cd/E19253-01...pdm/index.html
These 2 Users Gave Thanks to DukeNuke2 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Samba share on software raid1

Hello! i am having a ubuntu server with two empty disks and connected software raid1 to it. I am having /mnt/raid folder which i created to mount it. SO should i now make a share folder inside that or what? I ama bit confused when a raid is present. (27 Replies)
Discussion started by: tomislav91
27 Replies

2. Ubuntu

Ubuntu desktop RAID1 boot problem.

Hello, I installed ubuntu desktop just recently in aim to create a RAID1 configuration using software RAID MDADM. I have the following configuration as fdisk -l reports: Disk /dev/sda: 223,6 GiB, 240057409536 bytes, 468862128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size... (5 Replies)
Discussion started by: Reol
5 Replies

3. Linux

raid1 (dmraid) - bad sectors - mount - smartd - complicated!

Hello, i'm running a server with two disks in raid1.. it seems that some bad sectors have recently appeared on one of the disks. Aug 9 08:26:19 linux smartd: Device: /dev/sda, FAILED SMART self-check. BACK UP DATA NOW! Aug 9 08:26:19 linux smartd: Device: /dev/sda, 2 Currently... (0 Replies)
Discussion started by: TehOne
0 Replies

4. Linux

SPARC, Linux, RAID1, SILO

Hi, I've been searching for answers for two days and didn't find any definite answers on building RAID1 on SPARC. The main problem was with SILO (Sparc Improved boot LOader): can it boot from RAID partition or not. So I just tried it and it works. I've done this on Debian, but it should be... (0 Replies)
Discussion started by: Luka
0 Replies

5. Filesystems, Disks and Memory

Solaris 10 Raid1

does anyone k ow the answer to this? OS solaris 10 using the command raidctl -c c1t0d0 c1t1d0, this took about 4 mins to return to the prompt with "Volume c1t0d0 is created successfully!" then using format I saw AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>... (1 Reply)
Discussion started by: powerrack
1 Replies

6. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

7. AIX

rootvg and hardware raid1

Good Morning, We have a JS22 blade that we will be loading AIX5.3 onto it. We just discovered that the JS22 will only support one drive, so we are planning on booting this blade from the Fiber Channel SAN. Orginally we used 2 physical drives and set up RAID 1 and presented the logical drive... (0 Replies)
Discussion started by: brachinus
0 Replies

8. Solaris

RAID1 and LDoms

I have a Netra T5220 Solaris 10 server with LDoms installed and enabled. RAID1 is enabled in the control domain with the following slices: d50 -m d51 d52 1 d51 1 1 c1t0d0s5 d52 1 1 c1t1d0s5 d10 -m d11 d12 1 d11 1 1 c1t0d0s0 d12 1 1 c1t1d0s0 d20 -m d21 d22 1 d21 1 1 c1t0d0s1 d22 1 1... (14 Replies)
Discussion started by: StarSol
14 Replies

9. Filesystems, Disks and Memory

Pulling a drive on RAID1 hangs system

I'm setting up a server with software RAID1, and everything is working perfectly, except that when I pull either of the drives, the system completely hangs and has to be rebooted. The computer is a Tyan Transport GX28, which is alleged to have hot-swappable SATA. I can fail a drive and the system... (1 Reply)
Discussion started by: vertigo23
1 Replies

10. UNIX for Dummies Questions & Answers

How can i set up Software disk mirroring(Raid1) in SCO 5.0.5 with two SCSI harddisk ?

thank u very much, (1 Reply)
Discussion started by: coralsea
1 Replies
Login or Register to Ask a Question