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

Re: mount problems



On 09/10/2016 01:53 PM, Nicolas George wrote:
Le quintidi 25 fructidor, an CCXXIV, Tony Baldwin a écrit :
ls: cannot access winhome: Input/output error
ls: cannot access myown: Permission denied
ls: cannot access win7: Input/output error

If you are lucky, fsck (or the windows equivalent) will fix this.

If you are less lucky, you need to prepare for a trip to the hard drive
dealer.

The output of dmesg will tell you more.

Regards,

perhaps some of this will be useful?
# fdisk -l

Disk /dev/sda: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0009ff62

Device     Boot      Start        End    Sectors  Size Id Type
/dev/sda1             2048   58593279   58591232   28G 83 Linux
/dev/sda2         58595326 2930276351 2871681026  1.3T  5 Extended
/dev/sda5 2867777536 2930276351 62498816 29.8G 82 Linux swap / Solaris
/dev/sda6         58595328 2867777535 2809182208  1.3T 83 Linux

Partition 3 does not start on physical sector boundary.


Partition table entries are not in disk order.
Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 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: 0x0007b3d9

Device     Boot     Start        End    Sectors    Size Id Type
/dev/sdb1            2048    4098047    4096000      2G 83 Linux
/dev/sdb2  *      4098048  824020991  819922944    391G  7 HPFS/NTFS/exFAT
/dev/sdb3       824020992 2930272255 2106251264 1004.3G  7 HPFS/NTFS/exFAT
And when I try to fsck (perhaps I'm doing it wrong?) nothing happens but this:
# sudo fsck /dev/sdb2
fsck from util-linux 2.25.2
root@deathstar:/media# sudo fsck -y /dev/sdb2
fsck from util-linux 2.25.2
root@deathstar:/media# man fsck
root@deathstar:/media# man fsck
root@deathstar:/media# sudo fsck -y /dev/sdb3
fsck from util-linux 2.25.2

I can't help but think if I could remove the bad inodes in /media at the mount points I'd be back in business.
I do have these partitions listed in /etc/fstab:
# new lines, should be auto rw for me tony
#UUID=6B3B505F1763BB9B /media/winhome ntfs-3g exec,rw,permissions,auto,user,uid=1000,gid=1000 0 0 #UUID=BAE47010E46FCCE7B /media/win7 ntfs-3g exec,rw,permissions,auto,user,uid=1000,gid=1000 0 0


--
http://tonybaldwin.me
all tony, all the time


Reply to: