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

Re: Can't mount ntfs, says: unknown filesystem type 'LVM2_member'



On 04/28/2011 02:01 AM, Chris Brennan wrote:
Reposting to the list, OP, obey REPLY-TO headers or use 'Reply All'.
Excuse me.... I forget it
On Wed, Apr 27, 2011 at 6:37 PM, Jose Legido <jose@legido.com> wrote:
On Wed, Apr 27, 2011 at 6:45 PM, Chris Brennan <xaero@xaerolimit.net> wrote:
> On Wed, Apr 27, 2011 at 12:36 PM, Jose Legido <jose@legido.com> wrote:
>>
>> Hello
>> I had windows with ntfs
>> I installed ubuntu. All ok. Gurb with 2 os, can ran windows and uvuntu and
>> can mount windows partition in ubuntu
>> I installed debian with lvm over ubuntu partition.
>> I can't mount windows partition now, and windows doesn't appears in gurb
>>
>> # mount /dev/sda1 /mnt/windows/
>> mount: unknown filesystem type 'LVM2_member'
>>
>> # pvs --all
>>  PV         VG    Fmt  Attr PSize   PFree
>>  /dev/dm-1             --        0       0
>>  /dev/dm-2             --        0       0
>>  /dev/root             --        0       0
>>  /dev/sda1        lvm2 a-   113,25g 113,25g
>>  /dev/sda2             --        0       0
>>  /dev/sda5  vol64 lvm2 a-   113,25g      0
>>
>> I can't active vg because haven't name, but is not lvm, is only ntfs
>> partition
>> Maybe ubuntu puts in lvm and grub? Any idea? I have a lot of usefull
>> information in
>> Thanks!
>
> What does 'vgscan' produce?
only shows the debian LVM
# vgscan
 Reading all physical volumes.  This may take a while...
 Found volume group "vol64" using metadata type lvm2


> Was windows installed on it's own LVM?

No. I don't know who created this LVM!

> did you load the ntfs module (from the kernel) or did you try to use ntfs3g? 'Ware
> the user though, NTFS write support with either module is flaky at best,
> some have reported success, some have not, YMMV.
>

I use ntfs3g:
# mount -t ntfs /dev/sda1 /mnt/windows/
NTFS signature is missing.
Failed to mount '/dev/sda1': invalid argument
The device '/dev/sda1' 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?


On Wed, Apr 27, 2011 at 6:45 PM, shawn wilson <ag4ve.us@gmail.com> wrote:
> do an 'fdisk -l /dev/sda' and confirm everything,

# fdisk -l /dev/sda

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xfce09344

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       14784   118752448+  8e  Linux LVM
/dev/sda2           29570       30401     6683040   12  Compaq diagnostics
/dev/sda3           14785       29569   118759425    5  Extended
/dev/sda5           14785       29569   118759424   8e  Linux LVM

Partition table entries are not in disk order


> but, 'mount -t ntfs
> .... ' should work for you. it is possible that sda on ubuntu is
> showing up as sdb in debian - why you should use labels if you don't.
>

The same problem:

# mount -t ntfs /dev/sda1 /mnt/windows/
NTFS signature is missing.
Failed to mount '/dev/sda1': Argumento inválido
The device '/dev/sda1' 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?


A lot of thanks!


post the output of the following commands

mount

I think when I Install debian, marks sda1 as lvm and maybe the problem is not with ntfs. I start with live cd of hirens and doesn't watch ntfs partition


# mount
/dev/mapper/debian64-arrel on / type ext4 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/debian64-home on /home type ext4 (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)


df -h
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/debian64-arrel
                       22G  3.0G   18G  15% /
tmpfs                 2.0G     0  2.0G   0% /lib/init/rw
udev                  2.0G  280K  2.0G   1% /dev
tmpfs                 2.0G     0  2.0G   0% /dev/shm
/dev/mapper/debian64-home
                       56G  381M   52G   1% /home

cat /proc/partitions
$ cat /proc/partitions

#blocks  name

   8        0  244198584 sda
   8        1  118752448 sda1
   8        2    6683040 sda2
   8        3   81639424 sda3
   8        4          1 sda4
   8        5    7821312 sda5
 254        0   23040000 dm-0
 254        1   58597376 dm-1


lsmod | grep ntfs
nothing
uname -a

Linux akainsa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux

file /dev/sdxX (where 'x' is sda and sdb and 'X' is for each partition.

# file -s /dev/sda
/dev/sda: x86 boot sector; partition 1: ID=0x8e, active, starthead 1, startsector 63, 237504897 sectors; partition 2: ID=0x12, starthead 0, startsector 475025985, 13366080 sectors; partition 3: ID=0x8e, starthead 254, startsector 237506560, 163278848 sectors; partition 4: ID=0x5, starthead 254, startsector 459382782, 15642626 sectors, code offset 0x63
# file -s /dev/sda1
/dev/sda1: LVM2 (Linux Logical Volume Manager) , UUID: zh2yJYVJUoCB7CvoMXeOkn0YugN0Ajx
# file -s /dev/sda2
/dev/sda2: x86 boot sector, code offset 0x58, OEM-ID "MSDOS5.0", sectors/cluster 8, Media descriptor 0xf8, heads 255, hidden sectors 475025985, sectors 13366080 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 13028, reserved3 0x800000, serial number 0x282e8f11, label: "SERVICEV001"
# file -s /dev/sda3
/dev/sda3: LVM2 (Linux Logical Volume Manager) , UUID: tMpuckfThYqBmDYqUz2qbktYH22DOBG
# file -s /dev/sda4
/dev/sda4: x86 boot sector; partition 1: ID=0x82, starthead 254, startsector 2, 15642624 sectors, code offset 0x77
# file -s /dev/sda5
/dev/sda5: Linux/i386 swap file (new style), version 1 (4K pages), size 1955327 pages, no label, UUID=22fa700b-eff8-4aa3-b7ed-a93f6b042bf9


-- 


> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation.
> >>>Q: Why is top posting frowned upon?


Reply to: