LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2016, 07:51 AM   #1
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Rep: Reputation: Disabled
unable to mount drive in rescue mode


Hello,

experts,

I have one citrix xenserver 6.2 at OVH (ovh.com). but somehow it was not booting hence their support team had booted my system in rescue mode with debisn 8.

Now i want to copy my all vms to other swerver, but i am not able to mount the drive.

Here is the details.

Code:
root@rescue:~# fdisk -l

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 348C9827-D4D8-4C64-AF1A-658F0AD3B85A

Device        Start        End    Sectors  Size Type
/dev/sda1      2048    8390655    8388608    4G Linux RAID
/dev/sda2   8390656   16779263    8388608    4G Linux RAID
/dev/sda3  16779264 3907022847 3890243584  1.8T Linux RAID

Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 85890544-37C6-429B-B1DB-746C6D7FFB23

Device        Start        End    Sectors  Size Type
/dev/sdb1      2048    8390655    8388608    4G Linux RAID
/dev/sdb2   8390656   16779263    8388608    4G Linux RAID
/dev/sdb3  16779264 3907022847 3890243584  1.8T Linux RAID

Disk /dev/md3: 1.8 TiB, 1991804649472 bytes, 3890243456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 4 GiB, 4294901760 bytes, 8388480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md1: 4 GiB, 4294901760 bytes, 8388480 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x20ac7dda

Device     Boot      Start        End    Sectors   Size Id Type
/dev/md1p1 ?    3224498923 3657370551  432871629 206.4G  7 HPFS/NTFS/exFAT
/dev/md1p2 ?    3272020941 5225480974 1953460034 931.5G 16 Hidden FAT16
/dev/md1p3 ?             0          0          0     0B 6f unknown
/dev/md1p4        50200576  974536369  924335794 440.8G  0 Empty

Partition table entries are not in disk order.
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-MGT: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-ISORepository: 10 GiB, 10737418240 bytes, 20971520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--3a89b7f7--96a1--4646--a6bf--43266e26b4b3: 150.8 GiB, 161921105920 bytes, 316252160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--ca8bad1a--4220--4ecd--b554--0ba5d5d28dcf: 501 GiB, 537927876608 bytes, 1050640384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--a657b897--c8a1--40cc--9ef2--46d15eb0857d: 100.2 GiB, 107592286208 bytes, 210141184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--a506dbd1--94ed--4ef2--80fd--002d000e3208: 70.1 GiB, 75317116928 bytes, 147103744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--ebe8383e--2bc2--47b9--a704--d8ea6e508f5e: 90.2 GiB, 96833896448 bytes, 189128704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc: 150.3 GiB, 161384235008 bytes, 315203584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--e067827e--eb33--43d9--9c87--b5ac417e80c6: 60.1 GiB, 64558727168 bytes, 126091264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--d0cc757d--9005--4877--9649--004ad76b8cbe: 400.8 GiB, 430343979008 bytes, 840515584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--7a589eff--a2c7--4b34--af56--59eca7b4c7c6: 100.2 GiB, 107592286208 bytes, 210141184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--41a9603f--78c2--4ea2--869d--5455e28058b2: 24.1 GiB, 25828524032 bytes, 50446336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--9d45a83b--e00e--4da9--94af--326e0617e8f8: 24.1 GiB, 25828524032 bytes, 50446336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
my data is in md3 drive. and i tried to mount it but i got error as below

Code:
root@rescue:~# mount /dev/md3 /mnt/
mount: unknown filesystem type 'LVM2_member'
root@rescue:~#
I even tried by mounting lvm drives but no success. below is the eoor
Code:
root@rescue:~# mount /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc /mnt/
mount: /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc': Invalid argument
The device '/dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Any help will be appreciable.

Regards,

Redssr
 
Old 11-30-2016, 08:03 AM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
What does these commands output?

Code:
lvmdiskscan
pvs
 
Old 11-30-2016, 08:21 AM   #3
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
Details

Code:
root@rescue:~# lvmdiskscan
  /dev/ram0                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/MGT                                      [       4.00 MiB]
  /dev/ram1                                                                                        [       4.00 MiB]
  /dev/md1                                                                                         [       4.00 GiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/ISORepository                            [      10.00 GiB]
  /dev/ram2                                                                                        [       4.00 MiB]
  /dev/md2                                                                                         [       4.00 GiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-3a89b7f7-96a1-4646-a6bf-43266e26b4b3 [     150.80 GiB]
  /dev/ram3                                                                                        [       4.00 MiB]
  /dev/md3                                                                                         [       1.81 TiB] LVM physical volume
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-ca8bad1a-4220-4ecd-b554-0ba5d5d28dcf [     500.98 GiB]
  /dev/ram4                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-a657b897-c8a1-40cc-9ef2-46d15eb0857d [     100.20 GiB]
  /dev/ram5                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-a506dbd1-94ed-4ef2-80fd-002d000e3208 [      70.14 GiB]
  /dev/ram6                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-ebe8383e-2bc2-47b9-a704-d8ea6e508f5e [      90.18 GiB]
  /dev/ram7                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-2dc8aeea-bd3b-4e6e-8a4f-5abdfe0d8ecc [     150.30 GiB]
  /dev/ram8                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-e067827e-eb33-43d9-9c87-b5ac417e80c6 [      60.12 GiB]
  /dev/ram9                                                                                        [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-d0cc757d-9005-4877-9649-004ad76b8cbe [     400.79 GiB]
  /dev/ram10                                                                                       [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-7a589eff-a2c7-4b34-af56-59eca7b4c7c6 [     100.20 GiB]
  /dev/ram11                                                                                       [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-41a9603f-78c2-4ea2-869d-5455e28058b2 [      24.05 GiB]
  /dev/ram12                                                                                       [       4.00 MiB]
  /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-9d45a83b-e00e-4da9-94af-326e0617e8f8 [      24.05 GiB]
  /dev/ram13                                                                                       [       4.00 MiB]
  /dev/ram14                                                                                       [       4.00 MiB]
  /dev/ram15                                                                                       [       4.00 MiB]
  7 disks
  24 partitions
  0 LVM physical volume whole disks
  1 LVM physical volume
root@rescue:~# pvs
  PV         VG                                                 Fmt  Attr PSize PFree
  /dev/md3   VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46 lvm2 a--  1.81t 173.15g
Regards,

Redssr
 
Old 11-30-2016, 08:24 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
And:

Code:
lvdisplay VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
 
Old 11-30-2016, 08:31 AM   #5
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
Details

Code:
root@rescue:~# lvdisplay VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/MGT
  LV Name                MGT
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                I0Q8Zx-C2BY-iqW0-ztJd-zvPZ-b2Pf-SEvCTO
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                4.00 MiB
  Current LE             1
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:0

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/ISORepository
  LV Name                ISORepository
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                4iZIHN-YFny-9TEH-dfv2-afyi-43kO-8B4sVU
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:1

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-3a89b7f7-96a1-4646-a6bf-43266e26b4b3
  LV Name                VHD-3a89b7f7-96a1-4646-a6bf-43266e26b4b3
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                222yF5-4pj2-oKii-PhQS-1IW6-0jEQ-NsRviK
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                150.80 GiB
  Current LE             38605
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:2

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-ca8bad1a-4220-4ecd-b554-0ba5d5d28dcf
  LV Name                VHD-ca8bad1a-4220-4ecd-b554-0ba5d5d28dcf
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                suibef-3gLR-Cz2S-9NKd-oLmG-a7u3-eoaCsl
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                500.98 GiB
  Current LE             128252
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:3

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-a657b897-c8a1-40cc-9ef2-46d15eb0857d
  LV Name                VHD-a657b897-c8a1-40cc-9ef2-46d15eb0857d
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                3YZLcl-7SmK-YdWR-lfRd-L79r-AH8C-z4gb6g
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                100.20 GiB
  Current LE             25652
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:4

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-a506dbd1-94ed-4ef2-80fd-002d000e3208
  LV Name                VHD-a506dbd1-94ed-4ef2-80fd-002d000e3208
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                G0oplv-N76F-Bc88-WbqH-UIiR-Ftd5-SDW36Q
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                70.14 GiB
  Current LE             17957
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:5

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-ebe8383e-2bc2-47b9-a704-d8ea6e508f5e
  LV Name                VHD-ebe8383e-2bc2-47b9-a704-d8ea6e508f5e
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                pl0e18-DQQ0-wnty-41T8-TeiU-0u9m-8egbol
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 2
  LV Size                90.18 GiB
  Current LE             23087
  Segments               3
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:6

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-2dc8aeea-bd3b-4e6e-8a4f-5abdfe0d8ecc
  LV Name                VHD-2dc8aeea-bd3b-4e6e-8a4f-5abdfe0d8ecc
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                wPgqOf-YVVb-D1ZL-HARH-mCQb-d1V3-tZ7duI
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                150.30 GiB
  Current LE             38477
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:7

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-e067827e-eb33-43d9-9c87-b5ac417e80c6
  LV Name                VHD-e067827e-eb33-43d9-9c87-b5ac417e80c6
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                VhsA3Z-CmRU-DF1N-VQ0g-Kger-hRcw-zbicrB
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 1
  LV Size                60.12 GiB
  Current LE             15392
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:8

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-d0cc757d-9005-4877-9649-004ad76b8cbe
  LV Name                VHD-d0cc757d-9005-4877-9649-004ad76b8cbe
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                xWf17s-kHsC-AdD0-kXxA-sqHd-P94K-UypERG
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                400.79 GiB
  Current LE             102602
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:9

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-7a589eff-a2c7-4b34-af56-59eca7b4c7c6
  LV Name                VHD-7a589eff-a2c7-4b34-af56-59eca7b4c7c6
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                A0tFyU-E2lc-TL71-42el-GDEa-Wfrn-F63upU
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                100.20 GiB
  Current LE             25652
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:10

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-41a9603f-78c2-4ea2-869d-5455e28058b2
  LV Name                VHD-41a9603f-78c2-4ea2-869d-5455e28058b2
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                9Lat6b-1L5g-7ACX-4pNe-1y75-j8lJ-CdcS3V
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                24.05 GiB
  Current LE             6158
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:11

  --- Logical volume ---
  LV Path                /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-9d45a83b-e00e-4da9-94af-326e0617e8f8
  LV Name                VHD-9d45a83b-e00e-4da9-94af-326e0617e8f8
  VG Name                VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  LV UUID                TPegw0-pkQH-3G1a-QkqI-ryyU-m51P-NR1WB2
  LV Write Access        read/write
  LV Creation host, time ,
  LV Status              available
  # open                 0
  LV Size                24.05 GiB
  Current LE             6158
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           251:12
Redssr
 
Old 11-30-2016, 08:39 AM   #6
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I don't know where your VM's are in that list. But, the way to mount each one should be like this for example...

Assume the ISORepository entry:
LV Path /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/ISORepository
LV Name ISORepository

Code:
mkdir -p /mnt/ISORepository
mount /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/ISORepository /mnt/ISORepository
Do something like that for each one and you should find your VMs eventually.
 
Old 11-30-2016, 08:44 AM   #7
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
I can mount ISORepository it contains ISOs. but others i can't
 
Old 11-30-2016, 09:02 AM   #8
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Ah. Have to activate them first:

Code:
vgchange –ay VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
For reference:

https://support.citrix.com/article/CTX117791

Last edited by szboardstretcher; 11-30-2016 at 09:03 AM.
 
Old 11-30-2016, 09:15 AM   #9
redssr
Member
 
Registered: Oct 2013
Location: Dist Nasik MH State Country India
Distribution: Linux
Posts: 111

Original Poster
Rep: Reputation: Disabled
still same erorr

Code:
root@rescue:~# vgchange -ay VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46
  13 logical volume(s) in volume group "VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46" now active

root@rescue:~# mount /dev/VG_XenStorage-c24a2c8b-6783-c857-821e-5d68317f2d46/VHD-2dc8aeea-bd3b-4e6e-8a4f-5abdfe0d8ecc /mnt/
mount: /dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc': Invalid argument
The device '/dev/mapper/VG_XenStorage--c24a2c8b--6783--c857--821e--5d68317f2d46-VHD--2dc8aeea--bd3b--4e6e--8a4f--5abdfe0d8ecc' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Regards,

Redssr
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to password braeak by rescue mode in RHEL 4.4 singhjc Red Hat 3 01-11-2011 02:49 AM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 09:05 AM
DOH! need to mount LVM2 volume from RESCUE mode drokmed Linux - Software 0 05-02-2007 04:00 PM
Mount msdos floppy disc in Mandriva rescue mode adrenaline_NZ Mandriva 2 08-03-2005 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration