====================================================
I am getting the output " The disk verification is halted Retrying Please wait " because it fails for the command raidctl .
I used the command raidconfig which is in usr/bin instead of raidctlas suggested by one of my colleague but it ends with same error .
Have one more general query , it shows for volume in $volumelist in the script ( Is it correct or it has to be for volumelist in $volumelist )
Also , can anyone explain the usage of raidctl / raidconfig with examples
Bottom line is raidctl should not fail
Last edited by frintocf; 06-11-2011 at 03:12 AM..
Reason: No suggestion ?
I have a live Sunfire v440 server with 4 drives and I want to mirror drive 0 & 1 to 2 & 3. The on-board raid controller only allows for 1 live mirror. I was thinking of disksuite, but unfortunately the second disk is just one large partition with no free slices.
I was thinking of using... (0 Replies)
I am using raidctl on a v440 disk and noticed it resyncs after every boot, which takes about 30 minutes because of the size of the partition. I am concerned with what happens during the resync if "writes" happen to the disk before it is complete?
Any info would be helpful.
Thanks (0 Replies)
I am mirroring a single partition drive with raidctl. The source partition was mounted when I created the mirror with raidctl -c c1t1d0 c1t3d0. The source disk was defined with s2 and s6 only.
I didn't think to umount it first.
Is there a problem with that? (2 Replies)
At my own eys I can see 4 disks inside of server. Previous admin told me that hardware mirror is done.
What I see with "format" is 2 disks - I suspect that these are 2 MIRRORS.
I just cant be sure because raidctl show this:
# raidctl -l c0t0d0
Volume Size Stripe ... (0 Replies)
Setting up a T5240 with two disks c1t0d0 and c1t1d0.
I am trying to use raidctl but when I issue.
raidctl -l
I get
Controller 1
Disk: 0.0.0
Disk: 0.1.0
So I try
raidctl -c '0.0.0 0.1.0' -r 1 1
and I get "Array in use."
I try (4 Replies)
Hello World:
Recently I ran into an issue where a collegue had installed a Sun T5140 with twin 136GB disks in them. However, he forgot to execute the raidctl command first to mirror c1t0d0 to c1t1d0 boo hoo:) So along I come and try to mirror the disks by booting to sigle user... (1 Reply)
using the internal 2 drives mirror was created using raidctl on 100's of our servers . sometime when one drive fails we dont face any issue & we replace the drive with out any problem . but sometimes when one drive fails , system becomes unresponsive and doesnot allow us to login , the only way to... (1 Reply)
I have boot disk mirrored using hardware raid i.e raidctl command.
If I want to place an order for a spare drive and keep it at our location for spare, how do I find the disk specification since #format does not reveal this.
The server is T2000 running Solaris 10.
Any help please. (5 Replies)
I tried using raidctl earlier today to use my 2 disks in a RAID1 setup and I totally destroyed my OS install. I'm sure I did something funky and it freaked out. No big deal...right?
This is what I was seeing after a reboot.
I decided to just reinstall the OS. It let me go through all of... (3 Replies)
Discussion started by: kingdbag
3 Replies
LEARN ABOUT DEBIAN
lvresize
LVRESIZE(8) System Manager's Manual LVRESIZE(8)NAME
lvresize - resize a logical volume
SYNOPSIS
lvresize [--alloc AllocationPolicy] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize StripeSize]] {[-l|--extents [+|-]LogicalEx-
tentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] | [-L|--size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]} [-f|--force] [-n|--nofsck] [-r|--resizefs]
LogicalVolume{Name|Path} [PhysicalVolumePath[:PE[-PE]]...]
DESCRIPTION
lvresize allows you to resize a logical volume. Be careful when reducing a logical volume's size, because data in the reduced part is
lost!!! You should therefore ensure that any filesystem on the volume is shrunk first so that the extents that are to be removed are not
in use. Resizing snapshot logical volumes (see lvcreate(8) for information about creating snapshots) is supported as well. But to change
the number of copies in a mirrored logical volume use lvconvert(8).
OPTIONS
See lvm(8) for common options.
-f, --force
Force resize without prompting even when it may cause data loss.
-n, --nofsck
Do not perform fsck before resizing filesystem when filesystem requires it. You may need to use --force to proceed with this option.
-r, --resizefs
Resize underlying filesystem together with the logical volume using fsadm(8).
-l, --extents [+|-]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]
Change or set the logical volume size in units of logical extents. With the + or - sign the value is added to or subtracted from
the actual size of the logical volume and without it, the value is taken as an absolute one. The number can also be expressed as a
percentage of the total space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume with the
suffix %LV, as a percentage of the remaining free space of the PhysicalVolumes on the command line with the suffix %PVS, as a per-
centage of the remaining free space in the Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total
space in the Origin Logical Volume with the suffix %ORIGIN. The resulting value is rounded downward for the substraction otherwise
it is rounded upward.
-L, --size [+|-]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
Change or set the logical volume size in units of megabytes. A size suffix of M for megabytes, G for gigabytes, T for terabytes, P
for petabytes or E for exabytes is optional. With the + or - sign the value is added or subtracted from the actual size of the log-
ical volume and rounded to the full extent size and without it, the value is taken as an absolute one.
-i, --stripes Stripes
Gives the number of stripes to use when extending a Logical Volume. Defaults to whatever the last segment of the Logical Volume
uses. Not applicable to LVs using the original metadata LVM format, which must use a single value throughout.
-I, --stripesize StripeSize
Gives the number of kilobytes for the granularity of the stripes. Defaults to whatever the last segment of the Logical Volume uses.
Not applicable to LVs using the original metadata LVM format, which must use a single value throughout.
StripeSize must be 2^n (n = 2 to 9).
--noudevsync
Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible
udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
ates.
EXAMPLES
Extend a logical volume vg1/lv1 by 16MB using physical extents /dev/sda:0-1 and /dev/sdb:0-1 for allocation of extents:
lvresize -L+16M vg1/lv1 /dev/sda:0-1 /dev/sdb:0-1
SEE ALSO fsadm(8), lvm(8), lvconvert(8), lvcreate(8), lvreduce(8), lvchange(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVRESIZE(8)