1 (edytowany przez wojtula 2016-02-23 21:16:08)

Temat: NTFS signature is missing

Witam,
staram się podmontować dysk z openwrt do routera z Gargoyle, które zdecydowanie bardziej mi pasuje.
Mam problem przy podstawie... nie potrafię zamontować dysków.

Całość wygląda tak:
root@Gargoyle:~# mount /dev/sda2 /mnt/usb/sda2/

NTFS signature is missing.
Failed to mount '/dev/sda2': Invalid argument
The device '/dev/sda2' 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?
mount: mounting /dev/sda2 on /mnt/usb/sda2/ failed: Invalid argument

dmesg

[55453.430000] CIFS VFS: default security mechanism requested.  The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
[57468.580000] usb 1-1.1.3: USB disconnect, device number 4
[93726.840000] usb 1-1.1.4: new high-speed USB device number 5 using ehci-platform
[93726.950000] scsi0 : usb-storage 1-1.1.4:1.0
[93727.960000] scsi 0:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
[93727.980000] sd 0:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
[93727.980000] sd 0:0:0:0: [sda] Write Protect is off
[93727.990000] sd 0:0:0:0: [sda] Mode Sense: 3c 00 00 00
[93727.990000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[93728.000000] sd 0:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
[93728.040000]  sda: sda1 sda2 sda3
[93728.040000] sd 0:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
[93728.060000] sd 0:0:0:0: [sda] Attached SCSI disk
[93729.810000] busybox: sending ioctl 5310 to a partition!
[93729.820000] busybox: sending ioctl 5310 to a partition!
[93733.130000] busybox: sending ioctl 5310 to a partition!
[93733.140000] busybox: sending ioctl 5310 to a partition!
[93887.570000] mount: sending ioctl 5310 to a partition!
[93887.570000] mount: sending ioctl 5310 to a partition!
[93909.850000] mount: sending ioctl 5310 to a partition!
[93909.860000] mount: sending ioctl 5310 to a partition!
[94112.080000] mount: sending ioctl 5310 to a partition!
[94112.090000] mount: sending ioctl 5310 to a partition!

fdisk -l

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1          526336   119756799   119230464   83  Linux
/dev/sda2   *          63      526335      526273   83  Linux
/dev/sda3       119756800   121858559     2101760   82  Linux swap / Solaris

Partition table entries are not in disk order

2

Odp: NTFS signature is missing

Po prostu podłącz. Gargoyle samo montuje dyski.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: NTFS signature is missing

PS. NTFS ręcznie montuje się przez ntfs-3g a nie mount

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

4 (edytowany przez wojtula 2016-02-23 21:20:31)

Odp: NTFS signature is missing

podłączyłem, nie zamontował dlatego piszę o tym do Ciebie

log z podlaczenia:

Feb 23 21:17:02 Gargoyle kern.info kernel: [95779.470000] usb 1-1.1: new high-speed USB device number 6 using ehci-platform
Feb 23 21:17:02 Gargoyle kern.info kernel: [95779.580000] scsi1 : usb-storage 1-1.1:1.0
Feb 23 21:17:02 Gargoyle user.notice usb-modeswitch: 1-1.1:1.0: Manufacturer=JMicron Product=Samsung_S2_Portable Serial=0000002CE09310501590
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.590000] scsi 1:0:0:0: Direct-Access     Samsung  S2 Portable           PQ: 0 ANSI: 2 CCS
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.600000] sd 1:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.610000] sd 1:0:0:0: [sda] Write Protect is off
Feb 23 21:17:03 Gargoyle kern.debug kernel: [95780.620000] sd 1:0:0:0: [sda] Mode Sense: 3c 00 00 00
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.620000] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.630000] sd 1:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
Feb 23 21:17:03 Gargoyle kern.info kernel: [95780.670000]  sda: sda1 sda2 sda3
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.680000] sd 1:0:0:0: [sda] 312571224 1024-byte logical blocks: (320 GB/298 GiB)
Feb 23 21:17:03 Gargoyle kern.notice kernel: [95780.690000] sd 1:0:0:0: [sda] Attached SCSI disk
Feb 23 21:17:05 Gargoyle user.notice fstab: NTFS signature is missing.
Feb 23 21:17:05 Gargoyle user.notice fstab: Failed to mount '/dev/sda1': Invalid argument
Feb 23 21:17:05 Gargoyle user.notice fstab: The device '/dev/sda1' doesn't seem to have a valid NTFS.
Feb 23 21:17:05 Gargoyle user.notice fstab: Maybe the wrong device is used? Or the whole disk instead of a
Feb 23 21:17:05 Gargoyle user.notice fstab: partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Feb 23 21:17:05 Gargoyle kern.warn kernel: [95782.470000] busybox: sending ioctl 5310 to a partition!
Feb 23 21:17:05 Gargoyle kern.warn kernel: [95782.480000] busybox: sending ioctl 5310 to a partition!
Feb 23 21:17:05 Gargoyle user.notice fstab: mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
Feb 23 21:17:06 Gargoyle user.notice fstab: Mount enabled for /dev/sda2 but it doesn't have a defined mountpoint (target)
Feb 23 21:17:08 Gargoyle user.notice fstab: NTFS signature is missing.
Feb 23 21:17:08 Gargoyle user.notice fstab: Failed to mount '/dev/sda3': Invalid argument
Feb 23 21:17:08 Gargoyle user.notice fstab: The device '/dev/sda3' doesn't seem to have a valid NTFS.
Feb 23 21:17:08 Gargoyle user.notice fstab: Maybe the wrong device is used? Or the whole disk instead of a
Feb 23 21:17:08 Gargoyle user.notice fstab: partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Feb 23 21:17:08 Gargoyle kern.warn kernel: [95785.800000] busybox: sending ioctl 5310 to a partition!
Feb 23 21:17:08 Gargoyle kern.warn kernel: [95785.810000] busybox: sending ioctl 5310 to a partition!
Feb 23 21:17:08 Gargoyle user.notice fstab: mount: mounting /dev/sda3 on /mnt/sda3 failed: Invalid argument
Feb 23 21:18:28 Gargoyle kern.warn kernel: [95865.690000] mount: sending ioctl 5310 to a partition!
Feb 23 21:18:28 Gargoyle kern.warn kernel: [95865.690000] mount: sending ioctl 5310 to a partition!

5

Odp: NTFS signature is missing

Ale ty tam nie masz ntfsu smile Pokaż wynik mount

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: NTFS signature is missing

Zgadza sie, sa trzy partycje. Dwie ext4 bez journala oraz jedna swap.

mount

root@Gargoyle:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=63312k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
//192.168.1.108/mnt on /root/rpi type cifs (rw,mand,relatime,sec=ntlm,unc=\\192.168.1.108\mnt,username=root,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.108,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)
root@Gargoyle:~#

7

Odp: NTFS signature is missing

mkdir -p /tmp/d1
mount -t ext4 /dev/sda1 /tmp/d1
mkdir -p /tmp/d2
mount -t ext4 /dev/sda2 /tmp/d2

Jak nie zamontuje - sprawdź system plików przez e2fsck

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8 (edytowany przez wojtula 2016-02-23 21:29:04)

Odp: NTFS signature is missing

mount

root@Gargoyle:~# mkdir -p /tmp/d1
root@Gargoyle:~# mount -t ext4 /dev/sda1 /tmp/d1
mount: mounting /dev/sda1 on /tmp/d1 failed: Invalid argument

e2fsck

root@Gargoyle:~# e2fsck /dev/sda1
e2fsck 1.42.4 (12-June-2012)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sda1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

9

Odp: NTFS signature is missing

Ok, więc widzisz dlaczego nie zamontował - masz popsuty system plików.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10 (edytowany przez wojtula 2016-02-23 21:29:50)

Odp: NTFS signature is missing

ale na drugim routerze dyski montuja sie poprawnie, dodam ze nie uzywam zadnego HUBa. Dysk podpinam bezposrednio do routera.

11

Odp: NTFS signature is missing

Partycja sda1? Jesteś pewien?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: NTFS signature is missing

tak, na drugim routerze jest widoczna jako sdb1 a calosc jako sdb

13

Odp: NTFS signature is missing

Podłącz do drugiego, pokaż wynik mount i logread.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: NTFS signature is missing

drugi jest u brata, nie mam dostepu fizycznie teraz. Na 100% dziala, dzis sprawdzone.

15

Odp: NTFS signature is missing

wojtula napisał/a:

drugi jest u brata, nie mam dostepu fizycznie teraz. Na 100% dziala, dzis sprawdzone.

Sorry, ale tak to nie działa. Pokaż logi że faktycznie się montuje, bo tu pokazuje problem z system plików. Sprawdzałeś wcześniej może działał, nie wiem czy po drodze go nie zepsułeś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: NTFS signature is missing

hehe, nie zepsułem smile Mam nawet backup w postacie pliku .imgr (narzedzie hddguru, raw copy http://hddguru.com/software/HDD-Raw-Copy-Tool/) z miesiąca temu.
Zaraz go przywróce i podmontuje raz jeszcze

17

Odp: NTFS signature is missing

Efekt taki sam, jak poprzednio.
Robię drugi restore, na inny pendrive. Może to wina dysku, choć wątpie w to.

Czy taki FS można naprawić?

18

Odp: NTFS signature is missing

Skoro masz backup - to zrób format partycji po prostu. Tyle że zależy jaki masz router, bo przy takiej partycji możesz dużo ramu potrzebować.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19 (edytowany przez wojtula 2016-02-23 21:52:45)

Odp: NTFS signature is missing

Format usunie dane. Backup jest w postaci pliku imgr, ktory po restorze odtwarza FS wraz z danymi.

"In addition, HDD Raw Copy can create an exact raw (dd) or compressed image of the entire media (including service data such as MBR, Boot records, etc). Again, all filesystems (even hidden) are supported.
"

To po prostu kopia dysku, sektor po sektorze.

20

Odp: NTFS signature is missing

Usunie. Backup masz całego dysku, nie plików, więc później będziesz mógł to odtworzyć (jak jest dobry).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21 (edytowany przez wojtula 2016-02-23 21:58:20)

Odp: NTFS signature is missing

Zgadza się, właśnie tak teraz zrobiłem.
System po formacie jest widoczny. Po restorze dysku nie. Błędy te same - jak naprawić zatem FS?

fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
64 heads, 32 sectors/track, 152622 cylinders, total 312571224 sectors
Units = sectors of 1 * 1024 = 1024 bytes
Sector size (logical/physical): 1024 bytes / 1024 bytes
I/O size (minimum/optimal): 1024 bytes / 1024 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sda1          526336   119756799   119230464   83  Linux
/dev/sda2   *          63      526335      526273   83  Linux
/dev/sda3       119756800   121858559     2101760   82  Linux swap / Solaris
cfdisk (util-linux 2.21.2)
 Disk Drive: /dev/sda
 Size: 320072933376 bytes, 320.0 GB
 Heads: 64   Sectors per Track: 32   Cylinders: 305245

sda2                                Boot                               Primary                       ext4                                                                                          269.46                        *
sda1                                                                   Primary                       ext4                                                                                        61046.00
sda3                                                                   Primary                       swap                                                                                         1076.11                        *
                                                                        Pri/Log                       Free Space                                                                                 257681.36                        *

22

Odp: NTFS signature is missing

Jeżeli fsck nie ruszy go to go nie naprawisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23

Odp: NTFS signature is missing

Ok, dziękuję bardzo za pomoc i szybkie odpowiedzi.