When I started mirroring the VG00 on my new disk, the system had already 2 disk in mirrored state ... At that time my mirror value was 1, so while mirroring 3rd disk have used -m 2 .. and my # lvlnboot -v shows all boot order without error .
Then have removed my 3rd disk directly.. without spilting or reducing vg ..
After that had ran above cmnds .. and get stuck .. As I understand now current state is my all mirrored got failed .. only 1 active boot disk is there ... it may be bcz have done wrong vg reduce or lvreduce ..
## Now what I want is to .. remove what error am getting then remirror this OS on second disk .. to safely handover this server ...
Hi Experts,
I have configured A D40 Array. There is an faulty disk which is not part of an raid volume but shows fault in the diagnostics.
pdisk15 U0.1-P1-I1/Q1-W40AA83CC2400D
SSA160 Physical Disk Drive ( MB)
Is there a way to stop this... (2 Replies)
We have a filesystem which contains 8 hard disks but i am facing disk I/O issue becuase data is not spreading across all the disks.Is there any way i can check how data is spreading and any parameter we need to change to spread ata across all disks.
OS--AIX 5.3 (1 Reply)
Hi,
Recently i came across a disk that seems to be faulty and need help. I have gathered some information by running below commands and any help on how to solve this will be great.
# uname –a
SunOS XYZ 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-4
#df -k
Filesystem kbytes used... (3 Replies)
Hi,
Have mirrored the primary disk to 3 .
Server and OS:
# uname -a
HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license
# model
9000/800/L3000-7x
# strings /etc/lvmtab
/dev/vg00
+F@<
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
But now I have only 1 disk... (5 Replies)
Hello,
I'm new to this forum and as you will see from my question I'm new to UNIX as well.
One of our costumers has HP rx4640 running on UNIX with two 300GB hot-swappable disks that are mirrored. They reported to us that one of the disks is faulty and they want us to take care of it. Below is... (16 Replies)
Hi Guys,
One of two disks in my solaris machine has failed, the name is disk0, this is SUN physical sparc machine
But I work remotely, so people working near that physical server are not that technical, so from OS command prompt can run some command to bink faulty disk at front panel of Server.... (9 Replies)
Hi guys,
I would like to ask your opinion about my theory, how to fix my broken LVM without risking any data loss.
I use Archlinux at home. I just love this distro, even it gives me a lots of work (particularly after system updates).
Basic system spec:
AMD FX(tm)-6100 Six-Core Processor... (1 Reply)
Scenario1:
VG00 lvm,not mirrored,2 disk of 36GB vg size
VG00 size is under 30G.
Is possible to remove a disk of 36GB and replace "on fly"
with a disk of 300GB on VG00?
Thanks (6 Replies)
I plugged both power cables in both power supply. When I unplugged each power cable one by one, the SPARC T4-1 machine keep running. However, show faulty command shows below message. (I have also attached the picture of both power supply)
-> show faulty
Target ... (1 Reply)
Discussion started by: z_haseeb
1 Replies
LEARN ABOUT NETBSD
lvreduce
LVREDUCE(8) System Manager's Manual LVREDUCE(8)NAME
lvreduce - reduce the size of a logical volume
SYNOPSIS
lvreduce [-A|--autobackup y|n] [-d|--debug] [-f|--force] [-h|-?|--help] {-l|--extents [-]LogicalExtentsNumber[%{VG|LV|FREE}] | -L|--size
[-]LogicalVolumeSize[kKmMgGtT]} [-t|--test] [-v|--verbose] LogicalVolume[Path]
DESCRIPTION
lvreduce allows you to reduce the size of 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 resized before running lvreduce so that the extents that are to be removed
are not in use.
Shrinking snapshot logical volumes (see lvcreate(8) for information to create snapshots) is supported as well. But to change the number of
copies in a mirrored logical volume use lvconvert (8).
Sizes will be rounded if necessary - for example, the volume size must be an exact number of extents and the size of a striped segment must
be a multiple of the number of stripes.
OPTIONS
See lvm for common options.
-f, --force
Force size reduction without any question.
-l, --extents [-]LogicalExtentsNumber[%{VG|LV|FREE}]
Reduce or set the logical volume size in units of logical extents. With the - sign the value will be subtracted from the logical
volume's actual size and without it the will be taken as an absolute size. The number can also be expressed as a percentage of the
total space in the Volume Group with the suffix %VG or relative to the existing size of the Logical Volume with the suffix %LV or as
a percentage of the remaining free space in the Volume Group with the suffix %FREE.
-L, --size [-]LogicalVolumeSize[kKmMgGtTpPeE]
Reduce or set the logical volume size in units of megabyte by default. A size suffix of k for kilobyte, m for megabyte, g for giga-
bytes, t for terabytes, p for petabytes or e for exabytes is optional. With the - sign the value will be subtracted from the logi-
cal volume's actual size and without it it will be taken as an absolute size.
Example
"lvreduce -l -3 vg00/lvol1" reduces the size of logical volume lvol1 in volume group vg00 by 3 logical extents.
SEE ALSO lvchange(8), lvconvert(8), lvcreate(8), lvextend(8), lvm(8), lvresize(8), vgreduce(8)Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) LVREDUCE(8)