FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri Apr 03, 2020 20:33



Post new topic Reply to topic  [ 19 posts ] 
NTFS w/ network drive 
Author Message

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post NTFS w/ network drive
I have Ubuntu 8.04 with sc101-nbd driver. I can attach to the drive but not mount it. I can mount a local drive with no problem. Windows has no problem seeing the drive. I'm using the newest NTFS-3G stable driver. Here's th error when I try to mount...

mount -t ntfs-3g /dev/nbd0 /mnt/jen
NTFS signature is missing.
Failed to mount '/dev/nbd0': Invalid argument
The device '/dev/nbd0' 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?

Here's the output of fdisk..

fdisk -l /dev/nbd0

Disk /dev/nbd0: 65.4 GB, 65498251264 bytes
255 heads, 63 sectors/track, 7963 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x98fb1c39

Device Boot Start End Blocks Id System
/dev/nbd0p1 1 7962 63954733+ 7 HPFS/NTFS

Any help will be greatly appreciated.

Thanks,
Tony


Sun Mar 01, 2009 15:10
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
Mount the /dev/nbd0p1NTFS partition, not the /dev/nbd0 block device.


Sun Mar 01, 2009 15:32
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I did and I get the following error..

ntfs-3g: Failed to access volume '/dev/nbd0p1': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.


I tried 'mount.ntfs-3g --help' and it was no help.


Sun Mar 01, 2009 21:07
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
Then use 'kpartx /dev/nbd0' and check for a mountable partition under /dev/mapper.


Sun Mar 01, 2009 21:24
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I entered 'kpartx /dev/nbd0' and got the following..

/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.20 (2007-06-15)(compat) and kernel driver
gpt: 0 slices
dos: 4 slices
nbd0p1 : 0 127909467 /dev/nbd0 63

What does this mean ?


Sun Mar 01, 2009 21:42
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I rebooted and got the following..

gpt: 0 slices
dos: 4 slices
nbd0p1 : 0 127909467 /dev/nbd0 63


Sun Mar 01, 2009 21:57
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
akernan wrote:
I entered 'kpartx /dev/nbd0' and got the following..
/proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Incompatible libdevmapper 1.02.20 (2007-06-15)(compat) and kernel driver
gpt: 0 slices
dos: 4 slices
nbd0p1 : 0 127909467 /dev/nbd0 63

What does this mean ?

It means an Ubuntu problem. Please report them.

The requirement to mount any NTFS volume is that it must be accessible. NTFS-3G can not do anything if the lower layers didn't setup and made available yet your device for mount. The partition must be made visible/accessible first then it can be mounted.


Sun Mar 01, 2009 23:36
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
You can try 'modprobe dm-mod' then retry from 'kpartx ...'


Sun Mar 01, 2009 23:40
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
akernan wrote:
I rebooted and got the following..

gpt: 0 slices
dos: 4 slices
nbd0p1 : 0 127909467 /dev/nbd0 63


I rebooted and the command ran ok. What does this output mean?


Sun Mar 01, 2009 23:56
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
Can you help me?


Tue Mar 03, 2009 01:44
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
modprobe dm-mod
kpartx /dev/nbd0

then check for a mountable partition under /dev/mapper


Tue Mar 03, 2009 01:46
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I didn't get a return on 'modprobe dm-mod'.

On the 'kpartx /dev/mod' I got the following..

gpt: 0 slices
dos: 4 slices
nbd0p1 : 0 150561117 /dev/nbd0 63

I only had an entry for control in /dev/mapper.

I would've posted sooner but I had problems getting to ntfs-3g.org site.


Tue Mar 03, 2009 03:39
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
'kpartx -a /dev/nbd0' then check /dev/mapper directory for a mountable NTFS partition.


Tue Mar 03, 2009 03:46
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I ran the cmd 'kpartx -a /dev/nbd0' , now I have an entry for nbd0p1 in /dev/mapper.


Tue Mar 03, 2009 04:05
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I tried to mount /dev/nbd0 and get the following error..

Failed to read bootsector (size=0)
Failed to mount '/dev/nbd0': Invalid argument
The device '/dev/nbd0' 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?


I tried to mount /dev/nbd0p1 and got the following error..

ntfs-3g: Failed to access volume '/dev/nbd0p1': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.


Tue Mar 03, 2009 04:42
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
You need to mount /dev/mapper/nbd0p1


Tue Mar 03, 2009 09:31
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I tried to mount /dev/mapper/nbd0p1 and got the following error..

Failed to mount '/dev/mapper/nbd0p1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.


Tue Mar 03, 2009 14:40
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: NTFS w/ network drive
Either see http://ntfs-3g.org/support.html#ioerror or ask the sc101-nbd vendor if it's possible to mount the device as NTFS on Linux and how. NTFS-3G can only work if you have a mountable NTFS device.

Ok, I see sc101-nbd is an open source project. Then you probably found a bug in it.


Tue Mar 03, 2009 16:15
Profile

Joined: Sun Mar 01, 2009 14:58
Posts: 11
Post Re: NTFS w/ network drive
I asked the SC101-nbd developer and he said the drive could be mounted as ntfs using ntfs-3g. I'll check out dmraid to see if it helps.


Tue Mar 03, 2009 22:48
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.