|
Adding drive with LVM
Hello,
I'm new to the LVM thoug silly quesitons. Appreciate any help.
situation is simple.
I have RH3 with LVM on it.
Plus i have external USB ide drive with Fedore 3 ( or whatever the lastest one is ).
The story goes like this :
1. we used to have fedore running on PC.
2. We got server with preinstalled RH3.
3. the PC has been taken away and hard drive left for our purpises.
Task is :
to mount said hard drive.
i can see it under devices ( /dev/sde):
[ZZ]$ sudo /sbin/fdisk -l
Disk /dev/sda: 146.8 GB, 146815733760 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 7 56196 de Dell Utility
/dev/sda2 8 334 2626627+ 83 Linux
/dev/sda3 * 335 359 200812+ 83 Linux
/dev/sda4 360 17849 140488425 f Win95 Ext'd (LBA)
/dev/sda5 360 1633 10233373+ 83 Linux
/dev/sda6 1634 1894 2096451 83 Linux
/dev/sda7 1895 3168 10233373+ 83 Linux
/dev/sda8 3169 3299 1052226 83 Linux
/dev/sda9 3300 3553 2040223+ 82 Linux swap
/dev/sda10 3554 17849 114832588+ 83 Linux
<skip>
Disk /dev/sdd: 146.8 GB, 146815733760 bytes
255 heads, 63 sectors/track, 17849 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 17849 143372061 83 Linux
Disk /dev/sde: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[ZZ]$ mount
/dev/sda6 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda3 on /boot type ext2 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda8 on /tmp type ext3 (rw)
/dev/sda5 on /usr type ext3 (rw)
/dev/sda7 on /var type ext3 (rw)
/dev/apps/u01 on /u01 type ext3 (rw)
/dev/backup/oraback on /oraback type ext3 (rw)
/dev/sda2 on /home type ext3 (rw)
oracleasmfs on /dev/oracleasm type oracleasmfs (rw)
[ZZ]$ sudo /sbin/lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/sda1 [ 54.88 MB] free whole disk
lvmdiskscan -- /dev/sdb1 [ 100 GB] free whole disk
lvmdiskscan -- /dev/sdc1 [ 100 GB] free whole disk
lvmdiskscan -- /dev/sdd1 [ 136.73 GB] USED LVM whole disk
lvmdiskscan -- /dev/sde1 [ 298.05 MB] free whole disk
lvmdiskscan -- 5 disks
lvmdiskscan -- 5 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 17 partitions
lvmdiskscan -- 0 LVM physical volume partitions
[ZZ]$ sudo /sbin/pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE PV "/dev/sda10" of VG "apps" [109.47 GB / 60.62 GB free]
pvscan -- ACTIVE PV "/dev/sdd1" of VG "backup" [136.69 GB / 63.44 GB free]
pvscan -- total: 2 [246.24 GB] / in use: 2 [246.24 GB] / in no VG: 0 [0]
--
so to my inexperienced eye - the device is there, but i lvm doesn't think(see it ) it is there.
Please advise.
thank you.
|