08-17-2010
Keepcase,
in a raid 1 (no matter how many disks you have in it), every subdisk (diskslice) is identical to the others and to the raidset itself. Therefore every subdisk in a raid 1 has the full information of the filesystem built on top of the raidset. As long as you do not update the filesystem (mount it read/write), you can use a subdisk instead of the raidset without messing things up.
What happens when the system boots (from a ufs root filesystem) is this:
The OBP reads the bootblock from one of the disks (the details are configured in the OBP), then the bootblock loads a secondary bootloader called ufsboot, which loads the kernel and essential drivers. Later, when the kernel has enough information to understand mirrored disks, it switches from using the subdisk to the mirrored logical volume for the root filesystem.
When the root filesystem is scattered over more than one disk, all this is not possible (at least as long as OBP has no builtin means to understand logical volumes).
I hope, this helps to shed some light on the boot process with logical volumes.
9 More Discussions You Might Find Interesting
1. Solaris
I have this setup, i can only find docs to unmirror a raid 1 set, how do you get rid of a raid 5 set? the same way? metadetach and metaclear?
d8: RAID
State: Okay
Interlace: 32 blocks
Size: 142245693 blocks (67 GB)
Original device:
Size: 142247872 blocks (67 GB)
... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
2. Solaris
hi
this may be a very stupid question, but im quite new to Solaris (gonna buid my first system, Solaris 10 on x86 system, connected to other windows systems in a home network)
i wanna put a RAID 5 system in there to back up my other systems at home; iv read that its really so easy with SVM to... (4 Replies)
Discussion started by: Landser
4 Replies
3. Solaris
Hello experts..
How can i grow Raid 5 volume in SVM?
Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies
4. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
5. Solaris
Hello everyone,
Background:
I'm having an issue with booting a clone of hard drive with Solaris 8 installation.
For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies
6. Linux
I just built a home computer with 3TB hard drives I wanted to set up in a RAID 5 and load Ubuntu server onto it.
The first thing I did was set up the drives in a RAID 5 using just the motherboard chipset software to do it, so a 'hardware' RAID basically.
I installed Windows first to see if... (2 Replies)
Discussion started by: lorewap3
2 Replies
7. AIX
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies
8. Solaris
Server Model: T5120 with 146G x4 disks.
OS: Solaris 10 - installed on c1t0d0.
Plan to use software raid (veritas volume mgr) on c1t2d0 disk.
After format and label the disk, still not able to detect using vxdiskadm.
Question:
Should I remove the hardware raid on c1t2d0 first?
My... (4 Replies)
Discussion started by: KhawHL
4 Replies
9. Red Hat
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
LEARN ABOUT MOJAVE
vgreduce
VGREDUCE(8) System Manager's Manual VGREDUCE(8)
NAME
vgreduce - reduce a volume group
SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi-
calVolumePath...]
DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group.
OPTIONS
See lvm for common options.
-a, --all
Removes all empty physical volumes if none are given on command line.
--removemissing
Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal
operation of the volume group (new logical volumes may again be created, changed and so on).
If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove
them manually, you can run this option with --force to have vgreduce remove any partial LVs.
Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts
that lie on disks that are still present.
If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti-
vating your logical volumes with --partial as described in lvm (8).
SEE ALSO
lvm(8), vgextend(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)