Re: linux-lvm Digest, Vol 70, Issue 6

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

 



Johan Gardell [gardin@gmail.com] wrote:
> Hi!
> 
> I was able to use dd to read from the two PVs, so i started looking in
> the /proc/* files as you said:
> 
> /proc/mounts:
> rootfs / rootfs rw 0 0
> none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
> none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
> udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
> /dev/disk/by-uuid/56b77d5f-64e8-4392-be98-81a17a4c895d / reiserfs
> rw,relatime,notail 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
> tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
> /dev/mapper/Dreamhack-dreamhacklv /home reiserfs rw,relatime 0 0
> 
> and in /proc/swap
> Filename				Type		Size	Used	Priority
> /dev/sdb3                               partition	1951888	0	-1
> 
> Which did not give much, but i looked in /proc/mdstat as well
> Personalities :
> md127 : inactive sdc[1](S) sda[0](S)
>       4514 blocks super external:imsm
> 
> unused devices: <none>
> 
> Doesn't that mean the PVs are mapped to the md127 device? (the
> /dev/md127 device exists as well)
> I googled some and found that mdadm --remove /dev/md127 /dev/sdc and
> the same for the other device should remove the devices from the raid,
> but i just want to check with you so that i don't toast my data.. :P
> Could this be the issue?

That is the most likely issue. You need to figure out why MD has taken
them (someone must have created MD labels on them???). If you are not
interested in what is stored there, you can certainly remove them from
mdadm configuration and put them under LVM control but don't expect to
get your data back. If you have stored something on them, you better use
MD and restore the data before you remove them from MD and place them
under LVM.

Thanks, Malahal.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux