Re: [gentoo-user] pvcreate won't create pv

2012-06-30 Thread Stroller

On 29 June 2012, at 23:05, fe...@crowfix.com wrote:
>> ...
>> How come its hda?  Perhaps this is the problem, it certainly should be
>> fixed anyway.
> 
> Because it was set up that way 8 years ago.  /dev/hda is the only IDE
> drive in the system, and has the MBR, so I can't make /dev/hda an LVM
> volume, it has to be /dev/hda1.  I don't want to make some other drive
> the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
> for grub which doesn't change as I add new drives.
> 
> Besides all that, why do you think it's a problem and how do you
> propose fixing it?

Under current kernels, most all drives should use the sdx naming convention - 
IDE, PATA, SATA and even, I believe, SCSI. I think SCSI was the first to use 
this name, but I don't have a SCSI machine powered up right now to check. 

Anyway, at least IDE, PATA and SATA have all been moved to the same driver, and 
you should be using that.

If your system is showing a drive as /dev/hdx then there's something wrong. I 
didn't think this was even allowed under current kernels / udev.

Stroller.




Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 09:02:42PM -0400, cov...@ccs.covici.com wrote:
> If they are serial ata drives, I thought newer kernels would use
> /dev/sda  etc.  Is this really a ide drive?  Or do you have the BIOS
> pretend they are?

Please gve me a little credit.  I can screw up lots of things and
forget lots of things, but this drive is a replacement for a drive so
old that it is labeled IDE, not PATA, it has that awful big flat
ribbon, and there are two IDE connectors on the main board (which is
old enough to be called a mother board), and there were two IDE DVD
drives on there also, in fact hiding the IDE drive so that I had to
trace cables to find it.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread covici
fe...@crowfix.com wrote:

> On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:
> > 
> > fe...@crowfix.com wrote:
> > 
> > > Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
> > > so I can turn it into an LVM volumne.  So I copied everything there to
> > > the the 7.3TB LVM filesystem, then tried to create a new pv on
> > > /dev/hda1.  No joy.  I get
> > > 
> > > Device /dev/hda1 not found (or ignored by filtering).
> > > 
> > > /dev/hda has only /dev/hda1 which takes all the space.  The partition
> > > type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
> > > tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
> > > complaining about?
> > How come its hda?  Perhaps this is the problem, it certainly should be
> > fixed anyway.
> 
> Because it was set up that way 8 years ago.  /dev/hda is the only IDE
> drive in the system, and has the MBR, so I can't make /dev/hda an LVM
> volume, it has to be /dev/hda1.  I don't want to make some other drive
> the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
> for grub which doesn't change as I add new drives.
> 
> Besides all that, why do you think it's a problem and how do you
> propose fixing it?
If they are serial ata drives, I thought newer kernels would use
/dev/sda  etc.  Is this really a ide drive?  Or do you have the BIOS
pretend they are?

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 08:13:54PM -0400, Michael Mol wrote:

> ...I don't know, but I think you ought to burn in those drives before
> you move all of your data onto them. One good way might be to create,
> damage and rebuild a raid5 volume on them. They're at the high risk
> period of their lifetime, and you don't want them to fail once you've
> got data on them.

I don't have much data at all for them yet.  My plan is to gradually
fill them, and have two sets of USB backups in the fire safe.  It may
take years to fill them, so the USB backups will start small and
gradually expand as necessary.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Sat, Jun 30, 2012 at 10:05:40AM +1000, Paul Colquhoun wrote:

> What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf?
> 
> Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices 
> from LVM?

Ah geez, yet more LVM lore I have long since forgotten from lack of
use.  I didn't see it in 'man pvcreate' and had other things to do for
the time being.  I guess LVM is not like a bicycle..

Yes it does.  Thanks.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread Michael Mol
On Fri, Jun 29, 2012 at 5:26 PM,   wrote:
> Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
> so I can turn it into an LVM volumne.  So I copied everything there to
> the the 7.3TB LVM filesystem, then tried to create a new pv on
> /dev/hda1.  No joy.  I get
>
>    Device /dev/hda1 not found (or ignored by filtering).
>
> /dev/hda has only /dev/hda1 which takes all the space.  The partition
> type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
> tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
> complaining about?

...I don't know, but I think you ought to burn in those drives before
you move all of your data onto them. One good way might be to create,
damage and rebuild a raid5 volume on them. They're at the high risk
period of their lifetime, and you don't want them to fail once you've
got data on them.

-- 
:wq



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread Paul Colquhoun
On Fri, 29 Jun 2012 14:26:51 fe...@crowfix.com wrote:
> Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
> so I can turn it into an LVM volumne.  So I copied everything there to
> the the 7.3TB LVM filesystem, then tried to create a new pv on
> /dev/hda1.  No joy.  I get
> 
> Device /dev/hda1 not found (or ignored by filtering).
> 
> /dev/hda has only /dev/hda1 which takes all the space.  The partition
> type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
> tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
> complaining about?


What active 'filter = ' lines do you currently have in /etc/lvm/lvm.conf?

Does it have something like 'r|/dev/hd.*' in it to hide all the IDE devices 
from LVM?


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Asking for technical help in newsgroups?  Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro




Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
On Fri, Jun 29, 2012 at 05:56:58PM -0400, cov...@ccs.covici.com wrote:
> 
> fe...@crowfix.com wrote:
> 
> > Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
> > so I can turn it into an LVM volumne.  So I copied everything there to
> > the the 7.3TB LVM filesystem, then tried to create a new pv on
> > /dev/hda1.  No joy.  I get
> > 
> > Device /dev/hda1 not found (or ignored by filtering).
> > 
> > /dev/hda has only /dev/hda1 which takes all the space.  The partition
> > type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
> > tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
> > complaining about?
> How come its hda?  Perhaps this is the problem, it certainly should be
> fixed anyway.

Because it was set up that way 8 years ago.  /dev/hda is the only IDE
drive in the system, and has the MBR, so I can't make /dev/hda an LVM
volume, it has to be /dev/hda1.  I don't want to make some other drive
the boot drive; they are LVM volumes also.  And I also want an hd(0,x)
for grub which doesn't change as I add new drives.

Besides all that, why do you think it's a problem and how do you
propose fixing it?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



Re: [gentoo-user] pvcreate won't create pv

2012-06-29 Thread covici

fe...@crowfix.com wrote:

> Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
> so I can turn it into an LVM volumne.  So I copied everything there to
> the the 7.3TB LVM filesystem, then tried to create a new pv on
> /dev/hda1.  No joy.  I get
> 
> Device /dev/hda1 not found (or ignored by filtering).
> 
> /dev/hda has only /dev/hda1 which takes all the space.  The partition
> type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
> tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
> complaining about?
How come its hda?  Perhaps this is the problem, it certainly should be
fixed anyway.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] pvcreate won't create pv

2012-06-29 Thread felix
Got my two 4TB drives installed.  Now I need to get stuff off /dev/hda
so I can turn it into an LVM volumne.  So I copied everything there to
the the 7.3TB LVM filesystem, then tried to create a new pv on
/dev/hda1.  No joy.  I get

Device /dev/hda1 not found (or ignored by filtering).

/dev/hda has only /dev/hda1 which takes all the space.  The partition
type is 8e, Linux LVM.  It's not mounted.  I tried pvcreate -f.  I
tried dd if=/dev/zero of=/dev/hda1 count=1.  What is pvcreate really
complaining about?

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman & rocket surgeon / fe...@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o