LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-20-2010, 10:02 PM   #1
azaelge
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
LVM doesn't update the /dev/ directory after plugin an usb drive


Hello Experts,

I have an usb drive attached to my server. I use the driver with LVM. When the drive is switched on at server start up my dev directory is updated accordingly (I got the entry /dev/VolGroup01/.... ; but when I switch on the server and later on attach the usb drive and switch it on I canīt use it through LVM because the drive never appears under /dev/mapper/ or /dev/ even tough dmesg says that a drive was found and attached to sdb.

My lvm configuration looks like below.

Question is how to let mapper know that I just attached a usb drive that was previously configured with lvm?

thank you

regards

--- Volume group ---
VG Name VolGroup01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 24
VG Access read/write
VG Status resizable
MAX LV 256
Cur LV 4
Open LV 0
Max PV 256
Cur PV 1
Act PV 1
VG Size 1.36 TB
PE Size 4.00 MB
Total PE 357699
Alloc PE / Size 158720 / 620.00 GB
Free PE / Size 198979 / 777.26 GB
VG UUID hty1Jg-HfdE-m2yl-w7vQ-XsF1-IEee-Y4mkLP

--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 45
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 4
Max PV 0
Cur PV 1
Act PV 1
VG Size 419.06 GB
PE Size 32.00 MB
Total PE 13410
Alloc PE / Size 13410 / 419.06 GB
Free PE / Size 0 / 0
VG UUID RU2vwR-i7WS-gO68-WTOa-93hw-ZAjY-Q0uVXP
 
Old 06-20-2010, 11:03 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
vgscan, and maybe also lvscan, but in that order.

man lvm, vgscan, lvscan.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Post update: fsck.ext3 : No such file or directory while trying to open /dev/dm-2 wikapuki Linux - Newbie 1 03-18-2010 03:37 PM
Usb drive, how to locate it, how to move folder from Usb drive to usr directory eeguy02 Linux - Newbie 5 02-28-2010 11:23 PM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
Installing RIP LinuX on a USB drive - device name /dev/sdc becomes /dev/sda Mleahy Linux - Software 1 07-30-2008 08:57 PM
minicom: cannot open /dev/usb/tts/0: No such file or directory tcma Linux - Software 1 10-03-2004 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration