Skip to contentSkip to conversation

Mounting lvm partition

linux-lvm Steve Lavoie 3 participants 3 messages Mar 21, 2009 – Mar 23, 2009

lore
Share & tools
lore
#0 lore raw

Hi!

Here what I did:
Created VG (vg0) and LV (testntfs)
Share them using Iscsi Enterprise target.
Connect to them using my Windows PC and created NTFS fileystem on it.

Stop Iscsi Enterprise target.

Now I am trying to mount this partition on the Linux system.

Here what is happening when I tried to mount it.

zabbix:/etc# mount -t ntfs-3g /dev/vg0/testntfs /mnt
NTFS signature is missing.
Failed to mount '/dev/mapper/vg0-testntfs': Invalid argument
The device '/dev/mapper/vg0-testntfs' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

I retried but instead of creating a NTFS FS, I formatted using FAT32

zabbix:/etc# mount -t vfat /dev/vg0/testntfs /mnt
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-testntfs,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

I need to access this data for some backup purpose. Any idea?

Steve Lavoie
IT Consultant, MCP, A+, Network+, Linux+, VCP

#1 lore raw

Steve Lavoie schrieb:
Windows usually creates partitions on an available disk. So I'd try to use

Quoted 1 line
zabbix:/etc# mount -t ntfs-3g /dev/vg0/testntfs1 /mnt (with the

appended "1" for the partition).

Greetings

Christian

Quoted 42 lines

Hi!

Here what I did:
Created VG (vg0) and LV (testntfs)
Share them using Iscsi Enterprise target.
Connect to them using my Windows PC and created NTFS fileystem on it.

Stop Iscsi Enterprise target.

Now I am trying to mount this partition on the Linux system.

Here what is happening when I tried to mount it.

zabbix:/etc# mount -t ntfs-3g /dev/vg0/testntfs /mnt
NTFS signature is missing.
Failed to mount '/dev/mapper/vg0-testntfs': Invalid argument
The device '/dev/mapper/vg0-testntfs' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

I retried but instead of creating a NTFS FS, I formatted using FAT32

zabbix:/etc# mount -t vfat /dev/vg0/testntfs /mnt
mount: wrong fs type, bad option, bad superblock on
/dev/mapper/vg0-testntfs,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

I need to access this data for some backup purpose. Any idea?

Steve Lavoie
IT Consultant, MCP, A+, Network+, Linux+, VCP

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

#2 lore raw
In reply to Steve Lavoie
Quoted 30 lines · Steve Lavoie

Hi!

Here what I did:
Created VG (vg0) and LV (testntfs)
Share them using Iscsi Enterprise target.
Connect to them using my Windows PC and created NTFS fileystem on it.

Stop Iscsi Enterprise target.

Now I am trying to mount this partition on the Linux system.

Here what is happening when I tried to mount it.

zabbix:/etc# mount -t ntfs-3g /dev/vg0/testntfs /mnt
NTFS signature is missing.
Failed to mount '/dev/mapper/vg0-testntfs': Invalid argument
The device '/dev/mapper/vg0-testntfs' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

I retried but instead of creating a NTFS FS, I formatted using FAT32

zabbix:/etc# mount -t vfat /dev/vg0/testntfs /mnt
mount: wrong fs type, bad option, bad superblock on
/dev/mapper/vg0-testntfs,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so
Quoted 1 line

I need to access this data for some backup purpose. Any idea?

Hi Steve!

Yep, connect it via iSCSI ( even on the iSCSI-Target ) before you mount it!

Signature · 8 lines
Mit freundlichen Gr�ssen / best regards

Klaus Strebel, Dipl.-Inform. (FH), mailto:[email protected]

/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \