linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM on an external USB device - why not?
@ 2007-10-15 11:40 Ian Burnett
  2007-10-15 12:00 ` Janne Peltonen
  2007-10-16 23:26 ` [linux-lvm] " Brian Strand
  0 siblings, 2 replies; 3+ messages in thread
From: Ian Burnett @ 2007-10-15 11:40 UTC (permalink / raw)
  To: linux-lvm

My current system configuration is a 250GB internal IDE HDD, managed 
using LVM2 under Fedora Core 6. What I would like to do is to put this 
disk into an external USB enclosure to reduce heat generation inside the 
PC. Another reason is to allow the addition of extra disks very easily 
(current case only has room for 1x 3.5" HDD).

Once the USB drive is connected, I will be performing the initial boot 
stages off a small (2GB) solid-state CF disk, so I don't necessarily 
need the full "boot from USB" capabilities.

I can't see any problems in doing so myself. I realise that if 
additional usb-storage devices are added, then the raw device may change 
from /dev/sda to /dev/sdb, but with LVM using PV UUIDs to locate 
devices, won't that be irrelevant?

Are there any caveats to doing this? I haven't seen anything 
particularly relevant on the archives of this mailing list, and I've 
Googled around the subject. I did discover a couple of boot-from-USB 
walkthroughs scattered around the web which unhelpfully said "don't do 
it" without giving any particular reasons. That was from some old posts 
(c. 2005), without any citations, and didn't mention LVM2 so could have 
been based on LVM1.

All advice welcomed.

Ian.

-- 
Ian Burnett :: www.ianburnett.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] LVM on an external USB device - why not?
  2007-10-15 11:40 [linux-lvm] LVM on an external USB device - why not? Ian Burnett
@ 2007-10-15 12:00 ` Janne Peltonen
  2007-10-16 23:26 ` [linux-lvm] " Brian Strand
  1 sibling, 0 replies; 3+ messages in thread
From: Janne Peltonen @ 2007-10-15 12:00 UTC (permalink / raw)
  To: Ian Burnett; +Cc: linux-lvm

Go for it. I've had such a system running since april 2006.
There really is nothing special about it.


--Janne

On Mon, Oct 15, 2007 at 12:40:29PM +0100, Ian Burnett wrote:
> My current system configuration is a 250GB internal IDE HDD, managed 
> using LVM2 under Fedora Core 6. What I would like to do is to put this 
> disk into an external USB enclosure to reduce heat generation inside the 
> PC. Another reason is to allow the addition of extra disks very easily 
> (current case only has room for 1x 3.5" HDD).
> 
> Once the USB drive is connected, I will be performing the initial boot 
> stages off a small (2GB) solid-state CF disk, so I don't necessarily 
> need the full "boot from USB" capabilities.
> 
> I can't see any problems in doing so myself. I realise that if 
> additional usb-storage devices are added, then the raw device may change 
> from /dev/sda to /dev/sdb, but with LVM using PV UUIDs to locate 
> devices, won't that be irrelevant?
> 
> Are there any caveats to doing this? I haven't seen anything 
> particularly relevant on the archives of this mailing list, and I've 
> Googled around the subject. I did discover a couple of boot-from-USB 
> walkthroughs scattered around the web which unhelpfully said "don't do 
> it" without giving any particular reasons. That was from some old posts 
> (c. 2005), without any citations, and didn't mention LVM2 so could have 
> been based on LVM1.
> 
> All advice welcomed.
> 
> Ian.
> 
> -- 
> Ian Burnett :: www.ianburnett.com
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 

-- 
Janne Peltonen <janne.peltonen@helsinki.fi>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [linux-lvm] Re: LVM on an external USB device - why not?
  2007-10-15 11:40 [linux-lvm] LVM on an external USB device - why not? Ian Burnett
  2007-10-15 12:00 ` Janne Peltonen
@ 2007-10-16 23:26 ` Brian Strand
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Strand @ 2007-10-16 23:26 UTC (permalink / raw)
  To: linux-lvm

Ian Burnett wrote:
> My current system configuration is a 250GB internal IDE HDD, managed
> using LVM2 under Fedora Core 6. What I would like to do is to put this
> disk into an external USB enclosure to reduce heat generation inside the
> PC. Another reason is to allow the addition of extra disks very easily
> (current case only has room for 1x 3.5" HDD).
> 
> Once the USB drive is connected, I will be performing the initial boot
> stages off a small (2GB) solid-state CF disk, so I don't necessarily
> need the full "boot from USB" capabilities.
> 
> I can't see any problems in doing so myself. I realise that if
> additional usb-storage devices are added, then the raw device may change
> from /dev/sda to /dev/sdb, but with LVM using PV UUIDs to locate
> devices, won't that be irrelevant?
> 
> Are there any caveats to doing this? I haven't seen anything
> particularly relevant on the archives of this mailing list, and I've
> Googled around the subject. I did discover a couple of boot-from-USB
> walkthroughs scattered around the web which unhelpfully said "don't do
> it" without giving any particular reasons. That was from some old posts
> (c. 2005), without any citations, and didn't mention LVM2 so could have
> been based on LVM1.
> 
> All advice welcomed.
> 
> Ian.
> 

(Apologies in advance if this shows up on the list twice.)

While not often usually from USB, I've used LVM2 on USB devices with no
problems (in fact I rarely use them without LVM due to the improved
manageability, as you hinted at).  I'd recommend having all the
necessary USB goo (er, kernel modules) in your initrd regardless of
whether you are actually booting off of the USB device, as LVM doesn't
like to activate a vg with missing pvs.

Best regards,
Brian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-16 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 11:40 [linux-lvm] LVM on an external USB device - why not? Ian Burnett
2007-10-15 12:00 ` Janne Peltonen
2007-10-16 23:26 ` [linux-lvm] " Brian Strand

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).