* [linux-lvm] RAID1 on TOP of LVM
@ 2001-09-26 3:32 Uday Bhaskar Sarma Seetamraju
2001-09-26 6:44 ` Luca Berra
0 siblings, 1 reply; 4+ messages in thread
From: Uday Bhaskar Sarma Seetamraju @ 2001-09-26 3:32 UTC (permalink / raw)
To: linux-lvm
Hi,
I have had LVM for a little while now.
I have even successfully extended an LV. Moved PVs.
And better yet. Destroyed and recreated an LV containing Data :-)
The final step, RAID1. But I stumbled.
Can someone help?
========= /etc/raidtab file =========
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 0
device /dev/MKP/1
failed-disk 0
device /dev/MKP.1/1
raid-disk 1
========= output of mkraid in single user mode =========
# mkraid /dev/md0
Hadling MD device /dev/md0
analyzing super-block
disk 0: /dev/MKP/1, failed
returned a status of 0.
# mkraid --version
mkraid version 0.90.0
# uname -a
Linux linux1.localdomain 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown
(Mandrake 8.0 distribution downloaded from web site).
========= the LVM info =========
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software 13/11/2000 (IOP 10)
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "MKP"
vgscan -- found active volume group "MKP.1"
vgscan -- found active volume group "MGA"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual VGDA backup of your volume groups
lvscan -- ACTIVE "/dev/MKP/1" [3.99 GB]
lvscan -- ACTIVE "/dev/MGA/1" [2 GB]
lvscan -- ACTIVE "/dev/MKP.1/1" [4 GB]
lvscan -- 3 logical volumes with 9.99 GB total in 3 volume groups
lvscan -- 3 active logical volumes
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hda6" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hda10" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc6" of VG "MKP.1" [2.04 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc10" of VG "MKP.1" [2.04 GB / 88 MB free]
pvscan -- ACTIVE PV "/dev/hda7" of VG "MGA" [2 GB / 0 free]
pvscan -- total: 5 [10.09 GB] / in use: 5 [10.09 GB] / in no VG: 0 [0]
[EoInfo]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] RAID1 on TOP of LVM
2001-09-26 3:32 [linux-lvm] RAID1 on TOP of LVM Uday Bhaskar Sarma Seetamraju
@ 2001-09-26 6:44 ` Luca Berra
0 siblings, 0 replies; 4+ messages in thread
From: Luca Berra @ 2001-09-26 6:44 UTC (permalink / raw)
To: linux-lvm
On Tue, Sep 25, 2001 at 11:32:19PM -0400, Uday Bhaskar Sarma Seetamraju wrote:
> I have had LVM for a little while now.
> I have even successfully extended an LV. Moved PVs.
> And better yet. Destroyed and recreated an LV containing Data :-)
> The final step, RAID1. But I stumbled.
> Can someone help?
honestly i'd use lvm over raid1, it is most flexible since raid1 is not resizable.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [linux-lvm] RAID1 on TOP of LVM
@ 2001-09-26 13:51 Arvind Jain
0 siblings, 0 replies; 4+ messages in thread
From: Arvind Jain @ 2001-09-26 13:51 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Should'nt failed-disk 0 be raid-disk 0? thx, arv.
-----Original Message-----
From: Uday Bhaskar Sarma Seetamraju [mailto:sarma@bellatlantic.net]
Sent: Tuesday, September 25, 2001 11:32 PM
To: linux-lvm@sistina.com
Subject: [linux-lvm] RAID1 on TOP of LVM
Hi,
I have had LVM for a little while now.
I have even successfully extended an LV. Moved PVs.
And better yet. Destroyed and recreated an LV containing Data :-)
The final step, RAID1. But I stumbled.
Can someone help?
========= /etc/raidtab file =========
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 0
device /dev/MKP/1
failed-disk 0
device /dev/MKP.1/1
raid-disk 1
========= output of mkraid in single user mode =========
# mkraid /dev/md0
Hadling MD device /dev/md0
analyzing super-block
disk 0: /dev/MKP/1, failed
returned a status of 0.
# mkraid --version
mkraid version 0.90.0
# uname -a
Linux linux1.localdomain 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
i686 unknown
(Mandrake 8.0 distribution downloaded from web site).
========= the LVM info =========
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software 13/11/2000 (IOP 10)
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "MKP"
vgscan -- found active volume group "MKP.1"
vgscan -- found active volume group "MGA"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual VGDA backup of your volume
groups
lvscan -- ACTIVE "/dev/MKP/1" [3.99 GB]
lvscan -- ACTIVE "/dev/MGA/1" [2 GB]
lvscan -- ACTIVE "/dev/MKP.1/1" [4 GB]
lvscan -- 3 logical volumes with 9.99 GB total in 3 volume groups
lvscan -- 3 active logical volumes
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hda6" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hda10" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc6" of VG "MKP.1" [2.04 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc10" of VG "MKP.1" [2.04 GB / 88 MB free]
pvscan -- ACTIVE PV "/dev/hda7" of VG "MGA" [2 GB / 0 free]
pvscan -- total: 5 [10.09 GB] / in use: 5 [10.09 GB] / in no VG: 0 [0]
[EoInfo]
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [linux-lvm] RAID1 on TOP of LVM
@ 2001-09-26 14:04 Arvind Jain
0 siblings, 0 replies; 4+ messages in thread
From: Arvind Jain @ 2001-09-26 14:04 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
I had tried this with persistent-superblock 1. It had worked fine for me. I
also agree with Luca Berra. You should use LVM on top of RAID. Any
particular reason you are using RAID on top on LVM? thx,arv.
-----Original Message-----
From: Uday Bhaskar Sarma Seetamraju [mailto:sarma@bellatlantic.net]
Sent: Tuesday, September 25, 2001 11:32 PM
To: linux-lvm@sistina.com
Subject: [linux-lvm] RAID1 on TOP of LVM
Hi,
I have had LVM for a little while now.
I have even successfully extended an LV. Moved PVs.
And better yet. Destroyed and recreated an LV containing Data :-)
The final step, RAID1. But I stumbled.
Can someone help?
========= /etc/raidtab file =========
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 4
persistent-superblock 0
device /dev/MKP/1
failed-disk 0
device /dev/MKP.1/1
raid-disk 1
========= output of mkraid in single user mode =========
# mkraid /dev/md0
Hadling MD device /dev/md0
analyzing super-block
disk 0: /dev/MKP/1, failed
returned a status of 0.
# mkraid --version
mkraid version 0.90.0
# uname -a
Linux linux1.localdomain 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
i686 unknown
(Mandrake 8.0 distribution downloaded from web site).
========= the LVM info =========
Logical Volume Manager 0.9
Heinz Mauelshagen, Sistina Software 13/11/2000 (IOP 10)
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "MKP"
vgscan -- found active volume group "MKP.1"
vgscan -- found active volume group "MGA"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual VGDA backup of your volume
groups
lvscan -- ACTIVE "/dev/MKP/1" [3.99 GB]
lvscan -- ACTIVE "/dev/MGA/1" [2 GB]
lvscan -- ACTIVE "/dev/MKP.1/1" [4 GB]
lvscan -- 3 logical volumes with 9.99 GB total in 3 volume groups
lvscan -- 3 active logical volumes
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/hda6" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hda10" of VG "MKP" [2 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc6" of VG "MKP.1" [2.04 GB / 0 free]
pvscan -- ACTIVE PV "/dev/hdc10" of VG "MKP.1" [2.04 GB / 88 MB free]
pvscan -- ACTIVE PV "/dev/hda7" of VG "MGA" [2 GB / 0 free]
pvscan -- total: 5 [10.09 GB] / in use: 5 [10.09 GB] / in no VG: 0 [0]
[EoInfo]
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-09-26 14:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-26 3:32 [linux-lvm] RAID1 on TOP of LVM Uday Bhaskar Sarma Seetamraju
2001-09-26 6:44 ` Luca Berra
-- strict thread matches above, loose matches on Subject: below --
2001-09-26 13:51 Arvind Jain
2001-09-26 14:04 Arvind Jain
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.