Hi.
I have a 640G drive I put back in a laptop, that now is showing up in the "File System" as a vg_dell45 icon, as well as showing up under the disk utility as a "Multi-disk Device" The drive didn't appear in these areas before.
Here's the situation: -Took the drive out of the laptop -Inserted the drive into a usb external bay, copied a bunch of files to a separate system -Before copying the drive, I ran the "vgchange -ay" cmd to be able to access the different partitions on the drive and copy the data -the initial system is an old FC13, the newer system is a Centos6.5
-after copying, I then reinserted the drive back in the initial FC13 system. -everything boots, appears to run -however, when I look at the GUI File System/Disk Uility apps, I get what I mentioned above...
I then did a fdisk -l and I see that the drive no longer appears to contain valid partition tables!!!
So, something has happened. Researching doesn't point to anything, so I'm looking for pointers as to the bonehead screwup I did, as well as how to correct it.
Here's the output of the fdisk -l [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes 255 heads, 63 sectors/track, 32635 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes 255 heads, 63 sectors/track, 999 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes 255 heads, 63 sectors/track, 9790 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes 255 heads, 63 sectors/track, 10834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table [root@dell-1 ~]# vgchange -ay 5 logical volume(s) in volume group "vg_dell45" now active [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes 255 heads, 63 sectors/track, 32635 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes 255 heads, 63 sectors/track, 999 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes 255 heads, 63 sectors/track, 9790 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes 255 heads, 63 sectors/track, 10834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table
here's the df -h for what it's worth.. [root@dell-1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_dell45-lv_root 247G 188G 46G 81% / tmpfs 2.9G 356K 2.9G 1% /dev/shm /dev/sda1 485M 66M 394M 15% /boot /dev/mapper/vg_dell45-lv_apps 148G 91G 50G 65% /apps /dev/mapper/vg_dell45-lv_home 74G 616M 70G 1% /home /dev/mapper/vg_dell45-lv_backup 82G 7.3G 71G 10% /backup
So, how can i get this back to normal!
Thanks
update::
[root@dell-1 ~]# cat /proc/partitions major minor #blocks name
8 0 625131864 sda 8 1 512000 sda1 8 2 624618496 sda2 253 0 262144000 dm-0 253 1 8028160 dm-1 253 2 78643200 dm-2 253 3 157286400 dm-3 253 4 87031808 dm-4
On Thu, Dec 26, 2013 at 5:17 PM, bruce badouglas@gmail.com wrote:
Hi.
I have a 640G drive I put back in a laptop, that now is showing up in the "File System" as a vg_dell45 icon, as well as showing up under the disk utility as a "Multi-disk Device" The drive didn't appear in these areas before.
Here's the situation: -Took the drive out of the laptop -Inserted the drive into a usb external bay, copied a bunch of files to a separate system -Before copying the drive, I ran the "vgchange -ay" cmd to be able to access the different partitions on the drive and copy the data -the initial system is an old FC13, the newer system is a Centos6.5
-after copying, I then reinserted the drive back in the initial FC13 system. -everything boots, appears to run -however, when I look at the GUI File System/Disk Uility apps, I get what I mentioned above...
I then did a fdisk -l and I see that the drive no longer appears to contain valid partition tables!!!
So, something has happened. Researching doesn't point to anything, so I'm looking for pointers as to the bonehead screwup I did, as well as how to correct it.
Here's the output of the fdisk -l [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes 255 heads, 63 sectors/track, 32635 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes 255 heads, 63 sectors/track, 999 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes 255 heads, 63 sectors/track, 9790 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes 255 heads, 63 sectors/track, 10834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table [root@dell-1 ~]# vgchange -ay 5 logical volume(s) in volume group "vg_dell45" now active [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
Disk /dev/dm-0: 268.4 GB, 268435456000 bytes 255 heads, 63 sectors/track, 32635 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 8220 MB, 8220835840 bytes 255 heads, 63 sectors/track, 999 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 80.5 GB, 80530636800 bytes 255 heads, 63 sectors/track, 9790 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3: 161.1 GB, 161061273600 bytes 255 heads, 63 sectors/track, 19581 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4: 89.1 GB, 89120571392 bytes 255 heads, 63 sectors/track, 10834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000
Disk /dev/dm-4 doesn't contain a valid partition table
here's the df -h for what it's worth.. [root@dell-1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_dell45-lv_root 247G 188G 46G 81% / tmpfs 2.9G 356K 2.9G 1% /dev/shm /dev/sda1 485M 66M 394M 15% /boot /dev/mapper/vg_dell45-lv_apps 148G 91G 50G 65% /apps /dev/mapper/vg_dell45-lv_home 74G 616M 70G 1% /home /dev/mapper/vg_dell45-lv_backup 82G 7.3G 71G 10% /backup
So, how can i get this back to normal!
Thanks
On Dec 26, 2013, at 3:17 PM, bruce badouglas@gmail.com wrote:
Here's the output of the fdisk -l [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
It is in fact showing a normal MBR with two partitions for device /dev/sda
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4 doesn't contain a valid partition table
This is a normal message for fdisk of that era because it doesn't ignore the fact these are device mapper logical block devices, which do not normally ever have partition tables, you just format them. The /dev/dm-X designation is mapped to /dev/mapper/VGblah-LVblah. They are one in the same. There's nothing wrong here except possibly the presentation depending on the age of the tools.
Chris Murphy
Hey Chris.
Thanks for the reply. I took a look using gparted, and didn't see the partitions.
However, I think the major issue has to do with the hacked/rootkits on the box that I'm getting rid of. My gut tells me the drive is ok.good regarding the data.
I managed to completely copy all the data for the drive by using an external usb drive/bay and mounting/copying/etc..
So I'm really not that worried about it, but would like to get a better understanding of what's the issues.
Right now, I'm running a version of the livecd-gparted app to scan the drive and see what it's going to show. This will take a bit of time to finish.,
Thanks
On Thu, Dec 26, 2013 at 7:51 PM, Chris Murphy lists@colorremedies.com wrote:
On Dec 26, 2013, at 3:17 PM, bruce badouglas@gmail.com wrote:
Here's the output of the fdisk -l [root@dell-1 ~]# fdisk -l
Disk /dev/sda: 640.1 GB, 640135028736 bytes 255 heads, 63 sectors/track, 77825 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x28000000
Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 77826 624618496 8e Linux LVM
It is in fact showing a normal MBR with two partitions for device /dev/sda
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table
Disk /dev/dm-3 doesn't contain a valid partition table
Disk /dev/dm-4 doesn't contain a valid partition table
This is a normal message for fdisk of that era because it doesn't ignore the fact these are device mapper logical block devices, which do not normally ever have partition tables, you just format them. The /dev/dm-X designation is mapped to /dev/mapper/VGblah-LVblah. They are one in the same. There's nothing wrong here except possibly the presentation depending on the age of the tools.
Chris Murphy
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org