Re: How to mount old FC10 hdd as secondary drive in new FC10 machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/6/11 Frank Millman <frank@xxxxxxxxxxxx>:
> Hi all
>
> I have installed FC10 on a new hdd.
>
> I have an existing FC10 on another hdd, and I want to copy some data onto
> the new hdd. I have put the old hdd into the same machine, as a secondary
> drive, but I am having difficulty in mounting it.
>
> Here is the output of fdisk -
>
> --------------------------------------------
> [root@localhost ~]# fdisk -l
> Disk /dev/sda: 20.4 GB, 20495658496 bytes
> 255 heads, 63 sectors/track, 2491 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x972f8d73
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          25      200781   83  Linux
> /dev/sda2              26        2491    19808145   8e  Linux LVM
>
> Disk /dev/sdb: 20.0 GB, 20019314176 bytes
> 255 heads, 63 sectors/track, 2433 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0xd56bd56b
>
>   Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1   *           1          25      200781   83  Linux
> /dev/sdb2              26        2433    19342260   8e  Linux LVM
> ============================================
>
> If I try to mount /dev/sdb2, I get the message "unknown filesystem type
> 'lvm2pv'".
>
> I googled for this, and got quite a few hits, but I still can't get it
> right.
>
> Here is the output of pvscan -
>
> --------------------------------------------
> [root@localhost ~]# pvscan
>  PV /dev/sdb2   VG VolGroup00   lvm2 [18.44 GB / 32.00 MB free]
>  PV /dev/sda2   VG VolGroup00   lvm2 [18.88 GB / 32.00 MB free]
>  Total: 2 [37.31 GB] / in use: 2 [37.31 GB] / in no VG: 0 [0   ]
> ============================================
>
> As you can see, /dev/sdb2 is part of VolGroup00, which according to
> /etc/fstab is mounted to /.
>
> I can see the contents of /dev/sda2, but not /dev/sdb2.
>
> I tried to create a new volume group for /dev/sdb2, as follows -
>
> --------------------------------------------
> [root@localhost ~]# vgcreate hdd2 /dev/sdb2
>  Physical volume '/dev/sdb2' is already in volume group 'VolGroup00'
>  Unable to add physical volume '/dev/sdb2' to volume group 'hdd2'.
> ============================================
>
> So I tried to remove /dev/sdb2 from volume group 'VolGroup00' -
>
> --------------------------------------------
> [root@localhost ~]# vgreduce VolGroup00 /dev/sdb2
>  Physical Volume "/dev/sdb2" not found in Volume Group "VolGroup00"
> ============================================
>
> That seems strange.
>
> I tried to remove it using the gui tool Logical Volume Management. This
> gives the message 'Volume Group VolGroup00 does not have enough space to
> move the data stored on /dev/sdb2. A possible solution would be to add an
> additional Physical Volume to the Volume Group.'
>
> I don't know why it says that. All I want to do is remove a physical volume
> from a volume group.
>
> Now I have run out of ideas. Please can someone explain how I can mount my
> old FC10 drive in my new FC10 machine.

I can't help you fix it, but I think your problem is that you have a
clash of Volume Group names. Both your old and new disks are part of a
VG called VolGroup00 and I have some ideas how to go about fixing
that.

I think if you can work out what the UUID of the Volume Group on your
F10 disk is, you can run:
vgrename <F10UUID> VolGroup00_tmp

You should be able to see the UUID of that Volume Group from F10 with
"vgdisplay"

-- 
Sam

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux