Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #172005
| From | Anthony Baldwin <baldwinlinguas@gmx.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: mount problems |
| Date | 2016-09-10 20:10 +0200 |
| Message-ID | <sfUSZ-3zt-5@gated-at.bofh.it> (permalink) |
| References | <sfUzE-3cT-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 09/10/2016 01:45 PM, Tony Baldwin wrote:
> Suddenly I can't mount my 2nd hdd, it's been fine, but after a reboot
> today, I get I/O errors trying to mount the two partitions on it with
> this script:
> #!/bin/bash
>
> if [ $(whoami) != "root" ]; then
> echo "must be root, bitch"
> exit
> else
> mount /media/win7
> mount /media/winhome
> echo "mounted, sir."
> fi
> ls /media/winhome/
> ls /media/win7/
> exit
>
> Which worked flawlessly not long ago,
> although, I have to say recently I've been able to simply mount these
> partitions in pcmanfm
> Definitely something weird going on:
> [501][tony.deathstar: media]$ ls -la
> ls: cannot access winhome: Input/output error
> ls: cannot access myown: Permission denied
> ls: cannot access win7: Input/output error
> total 16
> drwxr-xr-x 7 root root 4096 Sep 5 13:55 .
> drwxr-xr-x 24 root root 4096 Jul 9 2015 ..
> drwxr-xr-x 2 root root 4096 Oct 13 2012 cardreader
> d????????? ? ? ? ? ? myown
> drwx------ 3 tony root 4096 Sep 10 13:04 tony
> d????????? ? ? ? ? ? win7
> d????????? ? ? ? ? ? winhome
> [502][tony.deathstar: media]$ su
>
> How can I remove these corrupted inodes and redo my mounting stuff?
> I do recall there is a way to make it so I can delete them, when I had
> troubles with bad inodes on a server due to improper use of logrotate
> allowing my server to become overloaded with empty logs that were bad
> inodes, but I do not recall what that method is.
>
> Thanks,
> Tony
Can't get the inode nos.
# ls -li
ls: cannot access winhome: Input/output error
ls: cannot access win7: Input/output error
total 12
1349045 drwxr-xr-x 2 root root 4096 Oct 13 2012 cardreader
1 drwxrwxrwx 1 tony tony 4096 Aug 7 13:34 myown
1357674 drwx------ 3 tony root 4096 Sep 10 13:04 tony
? d????????? ? ? ? ? ? win7
? d????????? ? ? ? ? ? winhome
--
http://www.baldwinlinguas.com
translations, localization,
multilingual web development
EN, ES, FR, PT
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
mount problems Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-10 19:50 +0200
Re: mount problems Nicolas George <george@nsup.org> - 2016-09-10 20:00 +0200
Re: mount problems Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-10 20:30 +0200
Re: mount problems Nicolas George <george@nsup.org> - 2016-09-10 20:30 +0200
Re: mount problems Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-10 21:00 +0200
Re: mount problems Nicolas George <george@nsup.org> - 2016-09-10 21:10 +0200
Re: mount problems Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-10 21:30 +0200
Re: mount problems Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-10 22:00 +0200
Re: mount problems Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-11 02:20 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-11 13:00 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-11 14:40 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Eike Lantzsch <zp6cge@gmx.net> - 2016-09-11 15:00 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-11 15:40 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Eike Lantzsch <zp6cge@gmx.net> - 2016-09-11 16:20 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Eike Lantzsch <zp6cge@gmx.net> - 2016-09-11 15:10 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Tony Baldwin <tonybaldwin@gmx.com> - 2016-09-11 17:50 +0200
Re: mount problems Please Help! Can't sshfs mount remote debian server, mount local 2nd hdd, nothing... Eike Lantzsch <zp6cge@gmx.net> - 2016-09-11 20:40 +0200
Re: mount problems Anthony Baldwin <baldwinlinguas@gmx.com> - 2016-09-10 20:10 +0200
csiph-web