Re: How to mount an LVM2 volume in Fedora Linux.

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

 



On 21-05-2017 21:33, Boris Epstein wrote:
> Wouldn't it be /dev/vg_maq01/lv_home that you want to mount to read files
> out of your home directory?
> 
Yes, You are correct. Thank you for teatching me.

[lucelio@localhost ~]$ sudo pvs
  PV         VG       Fmt  Attr PSize   PFree
  /dev/sda3  vg_maq01 lvm2 a--  118,75g    0
  /dev/sdb5  fedora   lvm2 a--  102,24g    0

[lucelio@localhost ~]$ mount | grep mapper
/dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered)
/dev/mapper/fedora-home on /home type ext4
(rw,relatime,seclabel,data=ordered)

[lucelio@localhost ~]$ sudo mount /dev/vg_maq01/lv_home /mnt/F16_home -r
[lucelio@localhost ~]$ sudo mount /dev/vg_maq01/lv_root /mnt/F16_root -r

[lucelio@localhost ~]$ mount | grep mapper
/dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered)
/dev/mapper/fedora-home on /home type ext4
(rw,relatime,seclabel,data=ordered)
/dev/mapper/vg_maq01-lv_home on /mnt/F16_home type ext4
(ro,relatime,seclabel,data=ordered)
/dev/mapper/vg_maq01-lv_root on /mnt/F16_root type ext4
(ro,relatime,seclabel,data=ordered)

> Boris.
> 
> On Sun, May 21, 2017 at 12:40 PM, Lucélio Gomes de Freitas <
> aa.lucelio@xxxxxxxxx> wrote:
> 
>> Hi friends,
>>
>> Anybody helps?
>>
>> Runnning old "Fedora 20-x86_64", and want to install
>> Fedora-Kde-live-25-1-3.
>>
>> Situation:
>> [lucelio@localhost ~]$ uname -rov
>> 3.19.8-100.fc20.x86_64 #1 SMP Tue May 12 17:08:50 UTC 2015 GNU/Linux
>>
>> [lucelio@localhost ~]$ sudo lvmdiskscan
>>   /dev/fedora/root      [      50,00 GiB]
>>   /dev/fedora/swap      [       3,77 GiB]
>>   /dev/sda2             [     500,00 MiB]
>>   /dev/vg_maq01/lv_swap [       5,75 GiB]
>>   /dev/sda3             [     118,75 GiB] LVM physical volume
>>   /dev/vg_maq01/lv_home [      63,00 GiB]
>>   /dev/vg_maq01/lv_root [      50,00 GiB]
>>   /dev/fedora/home      [      48,48 GiB]
>>   /dev/sdb2             [     500,00 MiB]
>>   /dev/sdb3             [     194,87 GiB]
>>   /dev/sdb4             [     500,00 MiB]
>>   /dev/sdb5             [     102,24 GiB] LVM physical volume
>>   6 disks
>>   4 partitions
>>   0 LVM physical volume whole disks
>>   2 LVM physical volumes
>>
>> The /dev/sda* is a SSD(KINGSTON SV200S3128G) 128GB, with old "Fedora
>> 16-x86_64", and only want to recover some files in /home.
>>
>> The /dev/sdb* is a Seagate(ST3320613AS) 320GB, running old "Fedora
>> 20-x86_64", with some important file in /home.
>>
>> [lucelio@localhost ~]$ sudo lvscan
>>   ACTIVE            '/dev/fedora/swap' [3,77 GiB] inherit
>>   ACTIVE            '/dev/fedora/home' [48,48 GiB] inherit
>>   ACTIVE            '/dev/fedora/root' [50,00 GiB] inherit
>>   ACTIVE            '/dev/vg_maq01/lv_swap' [5,75 GiB] inherit
>>   ACTIVE            '/dev/vg_maq01/lv_home' [63,00 GiB] inherit
>>   ACTIVE            '/dev/vg_maq01/lv_root' [50,00 GiB] inherit
>>
>> [lucelio@localhost ~]$ mount | grep /dev/mapper
>> /dev/mapper/fedora-root on / type ext4 (rw,relatime,seclabel,data=ordered)
>> /dev/mapper/fedora-home on /home type ext4
>> (rw,relatime,seclabel,data=ordered)
>>
>> Problem:
>> Want to mount the SSD on "Fedora 20" to recover some files, copying it
>> to /dev/sdb3 space(/dev/sdb3 not used/mounted). After this, I can
>> erase all SSD and install "Fedora 25" on it.
>>
>> Thanks for help if possible.
>> _______________________________________________
>> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
>>
> 
> 
> 
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux