LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 01:36 PM   #1
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
Using smartmontools under Ubuntu Netbook Remix.


Hi all,

This stuff is much easier under Fedora

I've got Ubuntu 10.04 NBR installed on my netbook. I've not really delved under the hood of Ubuntu, so I've got myself stuck pretty rapidly. I'm running all this as root through "sudo su - root" if it helps...

I'm trying to monitor my drive (/dev/sda) and have edited the following information into /etc/default/smartmontools: -

Code:
/dev/sda -m root@localhost -M exec /usr/share/smartmontools/smartd-runner
This was following the documentation from: https://help.ubuntu.com/community/Smartmontools


but when I try and start smartmontools service I get: -

Code:
root@joshua12:~# /etc/init.d/smartmontools start
/etc/default/smartmontools: 14: /dev/sda: Permission denied
Huh?! I'm root and have access to the disk (which is fine, btw, system is running peachy).

I had to use "/dev/sda" instead of DEVICESCAN environment variable (I assume that is what it is anyway) as recommended, because my system doesn't seem to have it and I'm not entirely certain what it should be.

Doing an "ls -la /dev/sda*" for this drive gives me: -

Code:
brw-rw----   1 root disk      8,   0 2010-09-23 17:42 sda
brw-rw----   1 root disk      8,   1 2010-09-23 17:42 sda1
brw-rw----   1 root disk      8,   2 2010-09-23 17:42 sda2
brw-rw----   1 root disk      8,   5 2010-09-23 17:42 sda5
Can anyone help please? Thanks.
 
Old 09-26-2010, 10:19 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Can you post your /etc/default/smartmontools?

Did you read /usr/share/doc/smartmontools/README.Debian? IMHO, the README.Debian file is the first place to look for documentation for anything packaged by Debian.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
resolution overclocking using Ubuntu netbook Remix 10.04 on an asus eee 4G netbook pawn0 Linux - Newbie 1 08-30-2010 05:31 PM
Ubuntu Netbook Remix Pascal Linux - Laptop and Netbook 1 06-01-2010 02:12 PM
Ubuntu Netbook Remix running very slow on my EEEPC netbook smschleidt Linux - Laptop and Netbook 1 05-05-2010 09:46 PM
keys not working on freedom netbook under ubuntu netbook remix albythom Linux - Laptop and Netbook 2 09-06-2009 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration