[NTLUG:Discuss] USB hard drive question

Robert Citek robert.citek at gmail.com
Thu May 8 23:58:02 CDT 2008


On Thu, May 8, 2008 at 10:46 PM, Fred James <fredjame at fredjame.cnc.net> wrote:
>
> Robert Citek wrote:
>  >
>  >I only see one drive going bad: /dev/sda.  Can you give more info on
>  >your system by running this script as root and posting the contents of
>  >output.txt:
>  >
>  Please explain

# be sure to run the commands in a subshell
true && (

# turn on debugging
set -x

# what linux distro and version are you using?
cat /etc/issue.net

# how many drives does your system have,
# what size are they, and how are they partitioned?
fdisk -l

# how big are the local filesystems, what type,
# and how full are they?
df -hTl

# which file systems are mounted and where?
mount

# what kind of swap are you using, how big, and how full?
swapon -s

# redirect stdout and stderr to the same file
) >& output.txt

Regards,
- Robert



More information about the Discuss mailing list