07-22-2012
To elaborate a little on my rather terse "solution", as I understand it, lvcreate uses the last physical disks (if specified) as the location of the disk logs.
So if you don't specify --mirrorlog core you will need at least three physical volumes, two for the data and one (which is on a separate PV) for the disk log. In this case, the last extent specified is where the log will be stored.
If you use --mirrorlog mirrored, you will need two physical devices for the two logs, and lvcreate will take the last two PV as the location of the logs.
10 More Discussions You Might Find Interesting
1. HP-UX
Hello All,
I am a newbee in HP UX wanted to know how to configure DNS,NFS,NIS,LDAP and LVM(mirror,sparing and multipathing) in HP UX 11iv2 and v3 and i did go through some of the docs on hp.com but i think those are for experience UX users and i am new to this so if some one could just mention... (1 Reply)
Discussion started by: coolsami
1 Replies
2. UNIX for Advanced & Expert Users
hi friends I have a problem ..
actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies
3. AIX
We had a mirrored disk failed (not the rootvg), there are 3 lvs (transfer, applogs, arch) from extvg gone open/stale state.
After replaced failed disk and run cfgmgr, the new replaced disk is visible:
)
I did the following to re-mirror new disk:
# extendvg prodvg hdisk3
# lspv (got new pvid on... (2 Replies)
Discussion started by: jalite19
2 Replies
4. Linux
Hi Guys,
I have a mirrored LVM volume, and wish to break the mirror leaving only copy1 (effectively removing copy 0).
Here's the config:
# lvs -a -o +devices
lvdata vg01 mwi-ao 2.19T lvdata_mlog 100.00 lvdata_mimage_0(0),lvdata_mimage_1(0)
vg01... (0 Replies)
Discussion started by: badoshi
0 Replies
5. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
6. AIX
Hi,
I need to know who can I create an script in order to check server mirror in AIX. I got this script
!/usr/bin/ksh
#
# Check if a VG is mirrored.
#
# lsattr -El <lvname> -a strictness -a copies
# If copies=2 and scrictness=y, then VG is mirrored
#
# LVs are retrieved via 'lsvg -l... (5 Replies)
Discussion started by: fede_mont
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have below code for disk creation
disk_list=$(ls /dev/sd)
for disk in $disk_list
do
pvcreate $i
done
So what my understanding is first it is checking the disk under /dev sdb,sdc,sdd,...sdz whether 25 disk are existing
if not then its creating the 25 physical volume.
I... (4 Replies)
Discussion started by: stew
4 Replies
8. HP-UX
Hi,
I have old server hp rp 3440 hp-ux 11.11. One mirrored disk is faulty. I need spesial patch PHKL_31216 and PHCO_30698, which give to correctly remove disk. Unfortunately I don't have access to hp support site. Please help me find it patch.
regards,Andre (0 Replies)
Discussion started by: andre9
0 Replies
9. Linux
Hello,
I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at:
http://www.dgoradia.com/creating-a-raid1-mirrored-on-an-existing-centos-on-lvm/and did create a two-disk mirror... (1 Reply)
Discussion started by: Clovis_Sangrail
1 Replies
10. Solaris
Hello all,
i have the mirror disk problem with SunOS 5.10.
here's the message:
# metastat d15
d15: Mirror
Submirror 0: d16
State: Needs maintenance
Submirror 1: d17
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel... (4 Replies)
Discussion started by: rwprabowo
4 Replies
LEARN ABOUT DEBIAN
jigdo-mirror
JIGDO-MIRROR(1) JIGDO-MIRROR(1)
NAME
jigdo-mirror - Maintain a mirror of images offered with jigdo
SYNOPSIS
jigdo-mirror [ config-file ]
DESCRIPTION
See jigdo-file(1) for an introduction to Jigsaw Download.
jigdo-mirror is a script intended for people who want to offer direct HTTP or FTP downloads of files for which only the jigdo and template
files are available.
As the first step of using jigdo-mirror, you need to set up normal HTTP/FTP/rsync mirroring both of the `.jigdo'/`.template' files and of
the parts that are needed for the reconstruction of the images. For example, in the case that you want to mirror Debian CD images with
jigdo-mirror, you need a mirror of the `.jigdo'/`.template' files and a Debian mirror on the local machine.
At regular intervals (preferably immediately after the normal mirroring has finished), schedule a run of jigdo-mirror. It will search
through a given directory for any `.jigdo' files and attempt to create all images offered by each file.
The script requires you to set a number of variables - please refer to the start of /usr/bin/jigdo-mirror for a description of each of
them. Since /usr/bin/jigdo-mirror will be overwritten whenever you upgrade jigdo-mirror, it is highly recommended not to change the set-
tings directly in this script. Instead, personal settings should be saved in a file called .jigdo-mirror in your home directory, or in a
different file whose name is then passed to the script as its first (and only) command line argument.
SEE ALSO
jigdo-file(1), jigdo-lite(1)
CD images for Debian Linux can be downloaded with jigdo <URL:http://www.debian.org/CD/jigdo-cd/>.
AUTHOR
Jigsaw Download <URL:http://atterer.net/jigdo/> was written by Richard Atterer <jigdo atterer.net>, to make downloading of CD ROM images
for the Debian Linux distribution more convenient.
19 May 2006 JIGDO-MIRROR(1)