screwed up a drive (i think)!
bruce
badouglas at gmail.com
Thu Dec 26 22:22:30 UTC 2013
update::
[root at 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 at 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 at 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 at dell-1 ~]# vgchange -ay
> 5 logical volume(s) in volume group "vg_dell45" now active
> [root at 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 at 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
More information about the users
mailing list