Re: LVM partitions on ax external USB HD

From: Rick Wagner (wagnerric_at_condor.cxo.cpqcorp.net)
Date: 04/12/05

  • Next message: Bob R. Taylor: "IDE disk problem"
    To: fedora-list@redhat.com
    Date: Mon, 11 Apr 2005 16:53:18 -0600
    
    

    On Sunday 10 April 2005 2:34 am, Antonio Montagnani wrote:
    > I tried to install Fedora on an external USB HD.
    > Of course booting from it didn't work.
    > On the disk there are an ext3 partition /boot and a LVM partition
    > If I connect the HD to a PC as USB device it is correctly mounted but I
    > see only the ext3 partition.
    > How can I see also the LVM???
    >

    Since no one else has answered, I'll take a stab. I have used LVM on several
    permanent hard drives, but never on removables. However I think what your
    looking to do is a udev script. Check out the information on udev. Also
    look for hotplug.

    What you'll want your script to do is upon detecting the plugging of your USB
    drive, it will want to scan (vgscan/lvscan) the drive for LVM volumes, then
    activate the volume (vgchange/lvchange --available=yes).

    I'm not sure what you want to do for unplugging. I expect that you'll need a
    script to flush then deactivate the volumes prior to pulling the plug on the
    drive.

    As I said, I don't know much about hotplug and udev, but this may give you
    some additional search hints.

            --rick

    > Tnx
    >
    > --
    > Antonio
    > ===========================================================================
    >===== Mail by Thunderbird 1.0.2 - Websurfing by Firefox 1.0.2
    > ===========================================================================
    >===== Posta con Thunderbird 1.0.2 - Navigazione con Firefox 1.0.2
    > ===========================================================================
    >===== Linux user number 362582
    > http://www.montagnani.org
    > ===========================================================================
    >=====

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Bob R. Taylor: "IDE disk problem"

    Relevant Pages

    • Re: Largest External HDD I Can Use With a Dimension 8200?
      ... Got the problem with the external Maxtor OneTouch II drive resolved. ... I totally uninstalled and reinstalled the Maxtor software, and used a different USB port on the back of my D-8300. ... These problems with ALL THE USB DEVICES started about 6 months ago, and increased with frequency until recently they became intolerable. ... I use the two front USB ports to connect my PNY Flash Drives, and get errors when plugging in to forward connector, but not the back one. ...
      (alt.sys.pc-clone.dell)
    • Re: Installing Fedora without a CDROM: my HOWTO
      ... Here is my HOWTO on installing Linux from a USB drive, ... disk or USB key rather than a CDROM boot disk. ... Put auxillary files (special drivers, post setup install config, ... This way I can mount any number of hard drives in the ...
      (Fedora)
    • Re: SATA HDD in external USB2 case no longer recognised after 1st reboot
      ... only to find that the SATA drive was no longer ... is it normal that I have 5 USB controllers in my device ... manager, ... both my external drives are Maxtor, but I know the "Maxtor 6 Y160P0 USB ...
      (microsoft.public.windowsxp.hardware)
    • Re: Bootable USB HDD
      ... with the ability to boot from USB is required. ... both of whom stated that USB external drives ... >>>>USB external hard drives. ...
      (microsoft.public.windowsxp.hardware)
    • Re: Bootable USB HDD
      ... External USB Storage ... the boot order in the ... >that state that "you can boot from a USB external hard ... both of whom stated that USB external drives ...
      (microsoft.public.windowsxp.hardware)