Port 21 not open
|
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Feb 12, 2016, 09:00 PM
I'm using minibian jessie. This is the second time it happened, the first time I thought it was because of adding "defaults" in the fstab file and then now since this morning.
Like I thought, labeling the hard drive didn't work either because it happens while running. Checked my power, seemed it was 1.8A and replaced it with 2A but the is still there.
For example with samba, when the pi goes offline, so also the hard drives, you get a big alert on windows that they are offline. When this happens I can open the map and it just says empty map. When I open /mnt/usbstorage in ssh I get: ls: reading directory .: Input/output error
For now I'm testing with adding /dev/sdc2 in the fstab file as well, like when it switches it still thinks it mounted, I don't know.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Feb 12, 2016, 09:02 PM
Very funky, are you able to try a different hard drive?
Can you check the dmesg logs to see if there is anything useful in there about the reason why the hard drive is unmounting?
Can you provide a list of all packages you have installed, are you using anything to manage hard drive power?
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Not Solved]
Feb 12, 2016, 09:18 PM
I think it's a hard drive issue / filesystem is damaged. Have you tried to check the disk with fsck?
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Feb 12, 2016, 09:25 PM
(This post was last modified: Feb 12, 2016, 09:45 PM by Yveske.)
Yes my super funky system
I have a second hard drive mounted but this has a power adapter so not the same and no issues there. These are all my packages installed: http://hastebin.com/tirorujovu.dos
For the dmesg logs I'm waiting now until it happens again.
Fsck gives me this:
Code:
root@raspberrypi:~# fsck /dev/sdb2
fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
250gb: clean, 15790/19529728 files, 35942186/78109696 blocks
So I guess this looks ok?
Also, when the problem starts I can't shutdown or reboot anymore. I have to pull the plug...
Also2, on both my hard drives I also have a second partition, a Microsoft reserved partition, this is always sda1 and sdb1. They are not mounted.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Feb 12, 2016, 11:25 PM
(This post was last modified: Feb 12, 2016, 11:41 PM by Yveske.)
And here I am with the dmesg log. This part is from the moment the hard drive changes from sdb to sdc: http://hastebin.com/ekapolasoh.coffee
It does have some errors so maybe manne is right that it is the hard drive?
If needed this is the dmesg lof part from startup, so if you add both together you have my complete dmesg log: http://hastebin.com/uxikisadob.vhdl
Ok and now it was disconnected for a few minutes: http://hastebin.com/uzimayediz.vhdl
So we have dmesg log:
Startup: http://hastebin.com/uxikisadob.vhdl
Changing from sdb to sdc: http://hastebin.com/ekapolasoh.coffee
And hard drive disconnected for a bit: http://hastebin.com/uzimayediz.vhdl
A complete dmesg log: http://hastebin.com/ewetuwiboj.vhdl
@Mike now I read that you also ask about a program to manage my hard drive power, I have hdparm, it doesn't work on this hard drive, but I haven't found any that works with it. So I just use for my other hard drive. Or should I just try uninstall it? I leave my device for now like this, with the problem. I'll try not to reboot for now.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 1,646
Threads: 2
Joined: Aug 2015
Reputation:
42
[Not Solved]
Feb 13, 2016, 12:53 PM
If i had to guess it looks like a hard drive problem with those errors. There may be some way to thoroughly check for errors using linux, fsck is the one I know but am unfamiliar with doing a thorough check. You can read the fsck manual with 'man fsck' which may provide some clues.
You can try removing hdparm but I don't think it will make a difference if you haven't activated hdparm for the troublesome hard drive.
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Not Solved]
Feb 13, 2016, 01:25 PM
Posts: 403
Threads: 26
Joined: Aug 2015
Reputation:
39
[Not Solved]
Feb 13, 2016, 05:00 PM
(This post was last modified: Feb 13, 2016, 05:04 PM by manne.)
if you have a good working backup then you have nothing to lose.
you can always format to ntfs and run scan disk on your computer then format it to ext4 again :p
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Feb 13, 2016, 06:04 PM
@manne you where too fast in your comment . Deleted my post because I was trying a few things more. I'm now running fsck.ext4 -cDfty -C 0 /dev/sd from your first link and that's running now and if that doesn't work it will indeed be formatting and hopefully it will not be physical damage.
And in the mean time playing with my newly arrived raspberry.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
Posts: 215
Threads: 25
Joined: Aug 2015
Reputation:
26
[Not Solved]
Feb 13, 2016, 10:47 PM
Update: Ran this: fsck.ext4 -cDfty -C 0 /dev/sdb2 (thanks for the link manne)
Got
Got this:
Code:
e2fsck 1.42.12 (29-Aug-2014)
Checking for bad blocks (read-only test): done
250gb: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3A: Optimizing directories
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong (40210026, counted=44301924).
Fix? yes
Free inodes count wrong (19511832, counted=19511860).
Fix? yes
250gb: ***** FILE SYSTEM WAS MODIFIED *****
250gb: 17868/19529728 files (11.0% non-contiguous), 33807772/78109696 blocks
Memory used: 1312k/0k (560k/753k), time: 10284.02/ 8.90/ 0.37
I/O read: 31MB, write: 14MB, rate: 0.00MB/s
For now it keeps running... Will probably know for sure in the morning.
That McNugget sauce. I want that Mulan McNugget sauce, Morty. That's my series arc, Morty! If it takes nine seasons!
|
|
Recent Posts
|
About Swap
jonescelinaa Apr 10, 2024, 06:58 AM
|
Tracker Status: Error Connection Time Out
jonesPhedra Apr 04, 2024, 08:17 AM
|
Split Tunnel Docker Containers
jonesPhedra Mar 27, 2024, 03:10 AM
|
Plex server not powerful enough, but only with s...
jonesPhedra Mar 27, 2024, 03:02 AM
|
game Geometry Dash Scratch
jonescelinaa Jan 31, 2024, 04:21 AM
|
Latest unread posts | Unanswered posts |
|