My system is configure with 2 IDE in a Master/Slave relationship.Both are ext3.
I have a brand new SATA drive that has never been formatted that is 500GB. I would like to configure the SATA drive so that so that 500GB is a ext3 partion so I can read and write linux files to it. I want to be able to copy all the content of my smaller IDE Slave onto the SATA drive once it is formated. All 3 drive are in swap bays.
In the past I was helped in the forum by algej. When he helped me in the past he had me perform certain commands to reveal the state of my system.
I ran the same command as before with all 3 swap bays in place and keyed on. To my surprise when I ran these commands I don't see anything in the output that would make me think there was a SATA drive in my system.
I don't know how to format ext3 using linux.
My goal is to format ext3 on the Sata I can't see yet and move my contents from slave ide on to it. I would really appreciate someone helping me through this process.
Thanks for all your help,
DigitalDude
Results of commands below:
==========================
[alpha@localhost ~]$ su - root
Password:
[root@localhost ~]#
vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup01" using metadata type lvm2
Found volume group "VolGroup00" using metadata type lvm2
[root@localhost ~]#
pvdisplay
--- Physical volume ---
PV Name /dev/sdb2
VG Name VolGroup01
PV Size 148.86 GB / not usable 13.24 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 4763
Free PE 1
Allocated PE 4762
PV UUID HPmjbD-LkCf-pDaQ-THt7-hz94-0lvi-q1f7Z8
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 148.86 GB / not usable 13.24 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 4763
Free PE 1
Allocated PE 4762
PV UUID ux3IdQ-M75u-Rh3w-nsf5-E9cC-e2aK-2NR0Lp
[root@localhost ~]#
vgdisplay
--- Volume group ---
VG Name VolGroup01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 148.84 GB
PE Size 32.00 MB
Total PE 4763
Alloc PE / Size 4762 / 148.81 GB
Free PE / Size 1 / 32.00 MB
VG UUID Eu364u-rJhb-oSyT-owAp-v3bB-ZoKQ-uMCbMz
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 148.84 GB
PE Size 32.00 MB
Total PE 4763
Alloc PE / Size 4762 / 148.81 GB
Free PE / Size 1 / 32.00 MB
VG UUID rsrIWj-0gVd-7Wm0-4KY2-t0mv-eE3X-Z94lE0
[root@localhost ~]#
lvs -o +devices
LV VG Attr LSize Origin Snap% Move Log Copy% Devices
LogVol00 VolGroup00 -wi-ao 146.88G /dev/sda2(0)
LogVol01 VolGroup00 -wi-ao 1.94G /dev/sda2(4700)
LogVol00 VolGroup01 -wi-a- 146.88G /dev/sdb2(0)
LogVol01 VolGroup01 -wi-a- 1.94G /dev/sdb2(4700)
[root@localhost ~]# cat /etc/fstab
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
You have new mail in /var/spool/mail/root
[root@localhost ~]#
fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000e85a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 83 Linux
/dev/sda2 26 19457 156087540 8e Linux LVM
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00041e17
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 25 200781 83 Linux
/dev/sdb2 26 19457 156087540 8e Linux LVM
Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/dm-0: 157.7 GB, 157705830400 bytes
255 heads, 63 sectors/track, 19173 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 157.7 GB, 157705830400 bytes
255 heads, 63 sectors/track, 19173 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
Disk /dev/dm-3 doesn't contain a valid partition table
[root@localhost ~]#