DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-01-29 23:16:55

Opperpanter
Member
From: Eindhoven, Netherlands.
Registered: 2008-08-11
Posts: 89

Why do I have a disk spinup when connecting with SSH?

Hello,

I have a CH3SNAS running with unplug 0.5 installed (on usb).

I also have a debian chroot (on usb) as well (to run openttd dedicated server from /ffp/start/openttd.ssh).

Eveytrhing is fine, but for one thing:

When I connect to my NAS by SSH (putty), I can hear the disk spin up. Dmesg proves this.

I can't think of a reason why it is spinning up, does anyone?

Can I find out which files are getting opened/read from/written to, when I connect through SSH?

Thanks,

Offline

 

#2 2010-02-07 12:32:44

idallen
New member
Registered: 2009-12-22
Posts: 2

Re: Why do I have a disk spinup when connecting with SSH?

You can find out what is being used on a disk this way:

# lsof  | grep HD_a

(or HD_b or whatever your disk is)

Offline

 

#3 2010-02-07 16:06:16

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Why do I have a disk spinup when connecting with SSH?

Opperpanter wrote:

I can't think of a reason why it is spinning up, does anyone?

to load the shell from disk, to read and run $HOME/.profile etc, to write the utmp record, etc.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB