Hardware :: Media Server Disk Consumption And Hdparm Configuration?

Oct 13, 2010

I have some general question with with quite an impact for the system I use I have a media server with 2 raid1 mirrors of 2 1 To disk aggregated with lvm and used by a big 2 To ext3 partition.A few days ago, munin (awesome!) started to send me notifications about smart attributes of some disks. Fyi, here's my hdparm.conf:

/dev/sda {
spindown_time = 54
}
/dev/sdb {

[code]...

regarding reliability and disk longevity, is it recommended to have them spin down while not used (most of the day, as these are storage unit for movies, pictures, documents..) or let them spin whatever.. ? Those are WD green and according to Tom' Hardware, the consumption is only slightly greater in idle compared to standby. The other question, (boat one as we say in french ) what is the best configuration here ? My 2 raid 1 stripes, or a raid 5 ? I know that two disks kill the raid 5, and they have to be of the same stripe to kill the lvm on the raid1, but what are the odds ?

View 3 Replies


ADVERTISEMENT

Debian Configuration :: Increased Power Consumption On Kernels >= 2.6.38?

Jun 29, 2011

According to Phoronix [URL]... aspm&num=1 (which seems to only test Ubuntu kernels) the problems should affect all users of the affected kernels, including Debian's, but that article provides a fix. I don't remember anyone here mentioning lower battery life and increased heat on their mobile platforms, though.

View 1 Replies View Related

Ubuntu :: Change The Mounting Point Of A Usb External Drive From '/media/disk' To '/media/Movies'

Jan 16, 2011

I was trying to change the mounting point of a usb external drive from '/media/disk' to '/media/Movies'

Here is were the stupid part takes over... I right clicked on the desktop icon for the device and selected Properties. From there I selected the Volume tab and in there I changed the mounting point to '/media/Movies' It accepted it and said the changed would take place when I unmounted it and remounted it. However, when I did this it now says it cannot be mounted as it says mount_point contains invalid characters usually /

Unfortunately, now I cannot get back into the properties to remove my error.

View 4 Replies View Related

Debian Configuration :: Plex Media Server Startup Script Due To Systemd

May 6, 2015

My plex media server does not work with systemd apparently but running the command below makes plex startup properly

Code: Select all/usr/sbin/start_pms &

Is there anyway to make this command run on my computer at startup.

I am running debian 8 jessie.

View 4 Replies View Related

Debian Configuration :: Plex Media Server Suddenly Stopped Working

Jan 27, 2016

My plex media server suddenly stopped working after years of no hassle use. This is the output of cat /proc/version = Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.65-1+deb7u2

My problem is similar to this forum thread viewtopic.php?f=5&t=121945 where I can get it to start by running Code: Select all/usr/sbin/start_pms & but it's not my normal server configuration. I added a couple files to it and it seems to work except it doesn't start when I reboot. I have to run that command again.This is the init script I've been running for years...

Code: Select all----
#!/bin/sh
### BEGIN INIT INFO
# Provides:          plexmediaserver
# Required-Start:    $remote_fs $syslog $networking
# Required-Stop:     

[code]....

My Debian skills are lacking to know how to proceed with troubleshooting what could have happened. Everything else seems fine, I just can't seem to get this application to run at startup or get back my old configuration...

View 3 Replies View Related

Security :: Clone Hard Disk With Cat /dev/sda >/media/disk/backup?

Apr 16, 2009

Can this be done and to restore the disk with a similar cat command.

View 3 Replies View Related

General :: Building A Fanless / Low Power Consumption Server?

May 18, 2011

my SheevaPlug just died, and I need to look for new device to replace it. My goal is to build a fanless, low power consumption, linux server. Currently I am thinking of purchasing a QNAP NAS device (TS-110 model) and installing Debian on it.

View 2 Replies View Related

Server :: Calculating Percentage Of Swap Usage / Consumption

Dec 18, 2009

My monitor tools indicate that the percentage of swap used is more than the ideal , so I want to calculate which process is consuming from the swap. I tried the following but it didn't help be 100%

#ps -eo vsz,rss,pid,args | sort -n

How to accurately calculate which process consuming from swap, just the swap no ram + swap!

View 6 Replies View Related

Debian Configuration :: PXE Boot Server - Adding ISO Disk 1 To PXE And Win10

Feb 24, 2016

I'm trying to setup a PXE server with Jessie. I've got the basic setup working by following the steps at [URL] .... That part was really easy. I would like to make the process as automated as possible and then add Win7/10 to the system as well.

The first hurdle I've come across is the fact that netboot downloads everything off the repositories. This has the potential to use up a lot of bandwidth and I would like to avoid this if possible. The first idea I came across was to create a local mirror, this way not only will I be installing everything off the LAN but I'll also be getting all the updates for my systems off the LAN too. I wasn't too keen on this. The other option that I read about was to use the debian ISOs instead.

What I have tried is to copy the Debian ISO to /var/www/html/debian

Then, when my boot via the pxe, i set the option to manually select a repository and then i type in the IP address for my webserver for the address and type in /debian for the mirror directory.

However it breaks at this point. I get a message saying "Downloading a file failed"

I would prefer the as much of the install to come from the ISO as possible to keep bandwidth usage to a minimum.

For Win10, I read that I have to use an AIK to build the Winpe and then boot that. Then I can load the Windows10 ISO via nfs through Winpe.

pxelinux.cfg/default
Code: Select allroot@DHCP:/srv/tftp# cat pxelinux.cfg/default
UI menu.c32
TITLE PXE Test Boot
LABEL Debian 8
   kernel linux
   append vga=normal preseed/url=http://192.168.0.254/debian/preseed.txt initrd=initrd.gz --

LABEL Windows 10
   kernel ??
   append ??

LABEL HardDrive Boot
   
This is a preseed I have setup so far

Code: Select all#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US

[Code] ....

View 0 Replies View Related

Software :: Install GRUB In The MBR Of The Only Bootable Disk In The System, But Load Configuration And Images From Another Disk?

Apr 29, 2011

Is it possible to install GRUB in the MBR of the only bootable disk in the system, but load configuration and images from another disk?Basically I want to install GRUB on /dev/sda, but menu and images will be under /dev/sdb2.Note: /dev/sdb is not bootable.

View 14 Replies View Related

Debian Configuration :: HP Media Bar Not Working

Jul 4, 2011

I would appear that I recently installed linux-image-2.6.32-5-amd64. Since then I have noted that my HP media bar up top doesn't work. This means I can't enable/disable wireless. From an lspci output, it still sees the hardware, and it's loaded, however, not functioning. Should I be looking at rolling the kernel back, or work on getting it working via some other means? Any liveCD I've tried doesn't seem to be able to get it going either. So I'm under the assumption here it is the kernel version, and not a hardware problem.

lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) .....

Also tried this to no avail:
sudo apt-get install rfkill
rmmod iwlagn
rfkill block all
rrfkill unblock all
modprobe iwlagn
rfkill unblock all
ifconfig wlan0 up
SIOCSIFFLAGS: Unknown error 132
rfkill list
2: phy2: Wireless LAN
Soft blocked: no
Hard blocked: yes

View 5 Replies View Related

Ubuntu :: The Disk Drive For /media/sdb1 Is Not Ready Yet Or Not Present

Jan 25, 2011

During the boot, the following message appears:The disk drive for /media/sdb1 is not ready yet or not present Continue to wait, press S to skip or M for manual recovery. This started to appear after I use the "pysdm" application.

View 4 Replies View Related

Ubuntu Installation :: 10.04 Unable To Find Media With Live Disk Image

Jun 27, 2010

I am having trouble both installing or even just booting the live CD. I have to interrupt the boot to give the nomodeset boot option.

Once I get the Ubuntu splash with the oscillating red and white dots for several moments, I get the Busybox with the error message "Unable to find a medium containing a live file system"

If I do a dmesg I then see a lot of sr0 errors. I have an onboard SCSI controller but no scsi devices. I am not sure if this matters.

View 3 Replies View Related

Ubuntu :: How To Compile The New Hdparm

Apr 19, 2010

I've been using ubuntu for the past year now but unfortunately I have to confess I never had to compile anything from scratch. I bought a new intel SSD drive and I've been running some benchmarks on it with various fs. The new hdparm version has a few features that I'd like to test (TRIM/wiper) but I don't know how to install it as it's not in the repositories. I've been googling for almost 4hrs now but I still haven't found a way to do it.

I've downloaded the tar.gz file from sourceforge and I've decompressed it. Inside, it was a debian folder but there was no .deb file in it. Anyway I did a "make hdparm" and it compiled with no errors. It gave me an "hdparm" executable which works fine if I call it with the full path. what's the proper way to install it in place of the already apt-get installed package?

View 2 Replies View Related

Ubuntu Servers :: Enable USB Media Such As Usb Flash Disk - Usb Mobile Broadband - Usb Modem

Jan 22, 2010

enable my usb media? such as Usb Flash Disk, Usb Mobile Broadband, Usb Modem, etc. when i run lsusb on my server 9.04, here is the output :

[Code]...

my flashdisk is Kingston Technology Data Traveler 2.0

View 2 Replies View Related

Ubuntu Installation :: Natty Upgrade The Disk Drive For /media/XXX Is Not Ready Yet Or Not Present

May 6, 2011

I've tried to use that thread to help but to no avail, i tried to use this:

[URL]

BUT I CAN'T OPEN A TERMINAL!!! as i am at a point where the screen says: Continue to wait, press S to skip or M for manual recovery. so if i run this command : gksudo gedit /etc/fstab my computer whines about there being no way to show this on the screen, I have tried this:

Use a non-graphical editor, like emacs or vi. Try Ctl+Alt+F3 -- you should get a login prompt. Login to an account with admin privileges (like, the first account you created, for example), and then type 'sudo vi /etc/fstab'; that will open /etc/fstab in the vi editor. Make your changes, save them, exit the editor, reboot... but if you're not used to working with a non-graphics-based editor, you'll have a bit of research to do. It's not hard, though, just tedious.however i have not managed to make it work.

View 9 Replies View Related

Debian Configuration :: No Write Permission For Users In Media?

May 1, 2011

jeff@optiplex:/media$ ls -l

total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0

[code]....

View 10 Replies View Related

Ubuntu :: Hdparm Not Putting HDD's To Sleep?

Dec 12, 2010

Im wanting to put HDD's to sleep using hdparm after 20min of activity (a 4x disk raid5 array and two single disks). I have edited /etc/hdparm.conf, adding the following lines at the end of the file:

Code:

#6TB RAID5 POWER DOWN
/dev/disk/by-id/scsi-SATA_ST32000542AS_5XW0T1R6 {
spindown_time = 240

[code]....

Code:

sudo hdparm -y /dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJDWQ411622

The HDD's will sleep with out issue. Ive looked around my log files and cant seem to find anything to do with hdparm, or the HDD's sleeping. Have I make a mistake in the .conf file? Is there some place hdparm logs, or if I can activate some sort of verbose mode? Or does hdparm need to be activated on boot?

EDIT: I'm using ubuntu 10.04.1 x64 last updated today.

View 5 Replies View Related

General :: Hdparm Secure Erase

Jan 11, 2011

can hdparm do secure erase on just a partition or does it have to be the whole drive?

View 5 Replies View Related

Hardware :: Prevent HDD From Starting After Hdparm?

Feb 6, 2011

I'm using hdparm -Y /dev/sda1 to force one of my HDDs to sleep upon system startup, but some process accesses it and it is turned on again. How can I disable the automatic startup of HDDs?

View 1 Replies View Related

General :: Use Hdparm To Unlock Drive?

May 25, 2010

I am running Xebian on my old Xbox. Currently I am trying to fit an old hdd that is locked (to a mo-bo that has expired). I have connected it up instead of the dvd drive and booted with it as slave. The OS can access it using hdparm -I /dev/hdb, but it showing as locked I have the key which is:

HDDLockDisablePassword 76 1d d3 2b e9 df 17 96 64 3b 5c 5f d9 95 ba 4e 74 f5 e5 0e 00 00 00 00 00 00 00 00 00 00 00 00

I am trying to input this using hdparm I have tried:

hdparm --security-mode U --security-unlock 761dd32be9df1796643b5c5fd995ba4e74f5e50e000000000000000000000000 /dev/hdb

which doesn't work. What format does the password need to be in. I suspect ASCII but I can't type some of the characters. Is the rest of the syntax correct? EDIT I have another key:

XboxHDKey d0 f3 f9 9a 03 20 41 b7 a4 70 bd eb 1b b3 cc ac

Should I be using this one?

View 1 Replies View Related

Debian Configuration :: Systemd Automounts For Removable Media Not Timing Out

Jul 18, 2015

I have the following hardware setup:

a NAS running Debian that frequently (but not always) has two removable media attached,a Debian desktop that mounts the above NAS via sshfs,the aforementioned removable media are symlinked to the directory on tha NAS that is then mounted by the desktop.

What I'd like this setup to do is to immediately time out if mounts as unavailable. Instead, I only get the expected behaviour if the NAS is down (the ssh client takes about 3 seconds to do that); if it's up, the removable media automounts (they are symlinked to the directory shared with the desktop) seem to never time out, ever. This happens locally on the NAS as well, when ssh'ing to the NAS and trying to run `ls /media/Storage` or `ls /media/Backup`, these commands never return. It's as if systemd was ignoring the x-systemd.device-timeout setting on the NAS.

The relevant part of the NAS's fstab:

Code: Select all/dev/sdb1       /media/Backup   ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,user,nofail,x-systemd.idle-timeout=30s       0       1
/dev/sdc1       /media/Storage  ext4    defaults,noauto,x-systemd.automount,x-systemd.device-timeout=1s,rw,exec,nofail,x-systemd.idle-timeout=5min      0       1

[Code] ....

I find it highly interesting that despite both removable media being detached, only one is flagged as having a dependency failed. Both paths exhibit the hang behaviour, though.

What can I do to actually time out when the media are not there?

View 4 Replies View Related

Debian Configuration :: Fastest Partition Scheme Filesystem For Flash Media?

Nov 11, 2010

I thought this might interest someone out there:[URL].. I used SD cards with MBR formatted as ext2 for backup. After I read these articles, I reformatted my cards with GUID Partition Table and ext4 format. Now I make my backup in half the time!

View 2 Replies View Related

Ubuntu :: Making Hdparm Settings Permanent?

Mar 2, 2010

I'm trying to make sure I don't screw anything up. When I type in the following into the terminal:

sudo hdparm -M 128 /dev/sda

Are the changes permanent, even if I restart? If not, how can I make sure it is permanent? I've read of going into the /etc/hdparm.conf file and editing it, but what exactly do I type and where should it be put in the file?

View 3 Replies View Related

OpenSUSE Hardware :: 11.3 - Smartd And Hdparm - Different Temp Values

Sep 17, 2010

I have hdparm running and see the reading in gkrellm
.dev/sda = 36 celcius
in messages
smartd[2895]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 108 to 107
Where to change that smartd reading?

View 1 Replies View Related

Applications :: Hdparm LSI Controller Support - Invalid Argument

Jan 7, 2010

I have SSDs connect to my Linux machine through the LSI SAS/SATA 1068E controller. I've been trying to issue a ATA secure erase command to my SSDs, but I keep getting error. In fact even hdparm -i fails.

# hdparm -i /dev/sda
/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Invalid exchange
HDIO_GET_IDENTITY failed: Invalid argument

Initially I thought there was some kernel configuration issue, so I tried connecting a SSD to the on board SATA and I no longer get errors. The secure erase worked. It seems there is some compatibility issue with hdparm and the LSI controller/driver I'm using. Any way to make hdparm play nice with my LSI controller? Has anyone had success getting hdparm to work with drives connected to an LSI controller?

Additianal info:
Linux Kernel: 2.6.30
hdparm: v9.27
LSI driver: Fusion MPT SAS Host driver 3.04.07

View 4 Replies View Related

Debian Hardware :: Persistent Hdparm Setting After Wake From Sleep

Jan 26, 2016

I have set up a hdparm configuration file ( /etc/udev/rules.d/50-hdparm.rules ) with :

Code: Select allACTION=="add", SUBSYSTEM=="block", KERNEL=="sda", RUN+="/usr/bin/hdparm -B 255 -S 0 /dev/sda" .

This works correct when I power on my system, however after waking my computer from sleep mode , /dev/sda appears to operate with APM .

Is there a way I can make this setting to be persistent ,i.e. APM disabled when waking up from sleep mode?

I am running Debian Jessie x64.

View 3 Replies View Related

Ubuntu Servers :: Hdparm Won't Put Drives To Sleep After Specific Time

Feb 17, 2011

I've just put together a 10.04 server using a GA-D525TUD atom board. I've installed gnome desktop too. I'm trying to get 4 sata drives to go into standby, but hdparm seems to be ignoring the settings. If i issue hdparm -y /dev/sdx the drive duly goes into standby and stays in standby until accessed. I've put entries in rc.local along with the hdparm.conf settings, but still no joy.

Hdparm.conf:
/dev/sdb {
spindown_time = 244
}

[code]....

View 9 Replies View Related

CentOS 5 Hardware :: Hdparm Misbehaves With ICH7 SATA Drives?

Jan 23, 2009

I have tried issuing this command:

[root@C5 ~]# hdparm -a 256 -d 1 -r 0 -k 0 -u 0 -c 1 -A 1 -K 0 -P 0 -X 66 -W 0 -S 0 /dev/sda
/dev/sda:
setting fs readahead to 256
setting 32-bit IO_support flag to 1

[code]....

Note that setting most of the parameters fails - and it still appears to be in 16 bit PIO mode. Am I using the wrong tool here - or incorrect parameters - or are the results misleading? Is there some other interpretation?

View 4 Replies View Related

Ubuntu :: Power Consumption By USB Hub

Apr 20, 2011

I was going through the article given here :- [URL]. Now my question is how to do this in linux ?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved