* [linux-lvm] Whats happens? -> remove first phy disk from lvm
@ 2006-07-12 9:37 Denny Schierz
2006-07-12 9:47 ` Patrick Caulfield
2006-07-12 10:02 ` Dieter Stüken
0 siblings, 2 replies; 6+ messages in thread
From: Denny Schierz @ 2006-07-12 9:37 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
hi,
i created a lvm volume over two partitions, hda8 and hdc8. Now hda8 is
broken and have to replace the disk.
on the lvm where several files. My questions, if i create a volume over
more than one partition, is that a stipe? Or does lvm use the first
partition, than the second?
cu denny
--
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Whats happens? -> remove first phy disk from lvm
2006-07-12 9:37 [linux-lvm] Whats happens? -> remove first phy disk from lvm Denny Schierz
@ 2006-07-12 9:47 ` Patrick Caulfield
2006-07-12 10:08 ` Denny Schierz
2006-07-12 10:02 ` Dieter Stüken
1 sibling, 1 reply; 6+ messages in thread
From: Patrick Caulfield @ 2006-07-12 9:47 UTC (permalink / raw)
To: LVM general discussion and development
Denny Schierz wrote:
> hi,
>
> i created a lvm volume over two partitions, hda8 and hdc8. Now hda8 is
> broken and have to replace the disk.
>
> on the lvm where several files. My questions, if i create a volume over
> more than one partition, is that a stipe? Or does lvm use the first
> partition, than the second?
>
By default LVM will use the first PV, then the next. Striping has to be
specified when you create the LV.
Depending on the filesystem (and luck) you might get some files back off the
remaining disk :)
--
patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Whats happens? -> remove first phy disk from lvm
2006-07-12 9:47 ` Patrick Caulfield
@ 2006-07-12 10:08 ` Denny Schierz
2006-07-12 12:08 ` Dieter Stüken
0 siblings, 1 reply; 6+ messages in thread
From: Denny Schierz @ 2006-07-12 10:08 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
hi,
Am Mittwoch, den 12.07.2006, 10:47 +0100 schrieb Patrick Caulfield:
> Depending on the filesystem (and luck) you might get some files back off the
> remaining disk :)
hmm, thanks. It seems, that the files lost, cause i don't expecting,
that these files are on the second disk.
But, keep in mind, is there a way, to reactivate the lvm without loosing
data on hdc8, if i adding hda8 to the lvm?
cu denny
--
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Whats happens? -> remove first phy disk from lvm
2006-07-12 10:08 ` Denny Schierz
@ 2006-07-12 12:08 ` Dieter Stüken
2006-07-12 15:52 ` Denny Schierz
0 siblings, 1 reply; 6+ messages in thread
From: Dieter Stüken @ 2006-07-12 12:08 UTC (permalink / raw)
To: LVM general discussion and development
Denny Schierz wrote:
> But, keep in mind, is there a way, to reactivate the lvm without loosing
> data on hdc8, if i adding hda8 to the lvm?
adding hda8? you mean replacing hda8?
Dieter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Whats happens? -> remove first phy disk from lvm
2006-07-12 12:08 ` Dieter Stüken
@ 2006-07-12 15:52 ` Denny Schierz
0 siblings, 0 replies; 6+ messages in thread
From: Denny Schierz @ 2006-07-12 15:52 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 725 bytes --]
hi,
Am Mittwoch, den 12.07.2006, 14:08 +0200 schrieb Dieter Stüken:
> Denny Schierz wrote:
> > But, keep in mind, is there a way, to reactivate the lvm without loosing
> > data on hdc8, if i adding hda8 to the lvm?
>
> adding hda8? you mean replacing hda8?
thanks all for the reply. I replaced hda with a new disk. The System was
on raid, but some data are not, cause of insufficient space.
I deleted the references for the old /dev/daten and recreated the
logical volumes.
i expected first, that lvm create a stripe, but that is an extra option,
to do that.
--
Sicherheit verständlich http://www.sides.de
GnuPG Key
http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0
[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] Whats happens? -> remove first phy disk from lvm
2006-07-12 9:37 [linux-lvm] Whats happens? -> remove first phy disk from lvm Denny Schierz
2006-07-12 9:47 ` Patrick Caulfield
@ 2006-07-12 10:02 ` Dieter Stüken
1 sibling, 0 replies; 6+ messages in thread
From: Dieter Stüken @ 2006-07-12 10:02 UTC (permalink / raw)
To: LVM general discussion and development
Denny Schierz wrote:
> i created a lvm volume over two partitions, hda8 and hdc8. Now hda8 is
> broken and have to replace the disk.
>
> on the lvm where several files. My questions, if i create a volume over
> more than one partition, is that a stipe? Or does lvm use the first
> partition, than the second?
have a look into /etc/lvm/backup/ to see how your VG was organized.
> on the lvm where several files.
You mean several "LVs"? If you have one big LV spread over both disks
it will be difficult to restore any files from the broke file system
within that LV.
Consider using smartmontools to monitor disk errors before it fails completely.
http://smartmontools.sourceforge.net/
Dieter.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-07-12 15:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 9:37 [linux-lvm] Whats happens? -> remove first phy disk from lvm Denny Schierz
2006-07-12 9:47 ` Patrick Caulfield
2006-07-12 10:08 ` Denny Schierz
2006-07-12 12:08 ` Dieter Stüken
2006-07-12 15:52 ` Denny Schierz
2006-07-12 10:02 ` Dieter Stüken
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).