Debian Configuration :: Tool To Turn Off Hard Disks?

Dec 31, 2010

Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..

View 2 Replies


ADVERTISEMENT

Debian :: Auto-mounting Hard Disks On Start Up

Feb 18, 2016

I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.

View 5 Replies View Related

Debian Hardware :: Adding Scsi Hard Disks To Wheezy

Feb 17, 2015

Installing two scsi hard disks on a debian system.

It is a physical old HP machine (netserver lc2000) with a fresh debian wheezy 7.0.8 installed.

It has two scsi hdds (73GBs) that I don't know how to add to the system so I can partition, format, mount, etc.

This is what I have tried so far:

1. dmesg output
Code: Select all# dmesg | grep scsi
[    2.173909] scsi0 : pata_serverworks
[    2.174377] scsi1 : pata_serverworks
[    2.417276] scsi 0:0:0:0: CD-ROM            LITEON   CD-ROM LTN485S   JKF1 PQ: 0 ANSI: 5
[    2.622195] sr0: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
[    2.623194] sr 0:0:0:0: Attached scsi CD-ROM sr0

[Code] ....

2. lsscsi output
-I installed lsscsi and here is the output:
Code: Select all# lsscsi --device
[0:0:0:0]    cd/dvd  LITEON   CD-ROM LTN485S   JKF1  /dev/sr0
[2:0:0:0]    disk    HP       Net Mirror       V1.0  /dev/sda
[2:2:0:0]    disk    HP       9.10GB C 80-P94N P94N  -       
[2:2:1:0]    disk    HP       9.10GB C 80-P94N P94N  -       

[Code] ....

3. force scsi scan
-I tried to use this command to force a rescan for the hdds, but nothing happened:
Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan

-no errors, but log says nothing
-tried the above with host0 - 4, same result

4. fdisk -l
Code: Select all# fdisk -l

Disk /dev/sda: 9098 MB, 9098887168 bytes
255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors
Units = sectors of 1 * 512 = 512 bytes

[Code] ....

5. tried to specifically add one device but it didn't work:
Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi
-bash: /proc/scsi/scsi: No such file or directory

View 2 Replies View Related

Debian Configuration :: How To Automount Flash Disks

May 17, 2011

I have installed a minimal system with openbox window decorator. (without any window manager) when i insert a flash disk to my computer, system doesn't mount it automaticly. i must mount it to a folder to use it.

for example:

View 14 Replies View Related

Debian Configuration :: Duplicate Disks With Same Uuid Under Fdisk

Jan 19, 2016

I am running Debian 3.2.0-0.bpo.2-amd64 on hyper-v, my / volume ran out of space and is sitting at 100%, I have extended the disk size on hyper-v, however when I go to Fdisk I see duplicates of each disk.

I have total of 2 vhds on the vm, so I see 4 disks under fdisk. Here is the output of fdisk

root@apachevm:~# fdisk -l

Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0009bfe8

[CODE]....

View 2 Replies View Related

Debian Configuration :: Reorganizing Disks In MD RAID Array

Mar 4, 2010

I'm trying to do some RAID managing with mdadm. I would like to sync my spare disk and then remove it from the array for making a backup out of it with dd command (the best way i can think of to get the current image of the whole system as it can't be done using the active RAID as source, because is constantly in use and changing). So, I have RAID1 array with 1 spare and 2 active disks (configuration listed below). Now I would like to force spare to sync and then remove it from array, although not faulty.

However, mdadm man page states:
"Devices can only be removed from an array if they are not in active use. i.e. that must be spares or failed devices. To remove an active device, it must be marked as faulty first."

So, I'd have to mark a disk as faulty (which it is not) to be able to remove it from array. There seems to be several people reporting that they can't remove this faulty flag accidentally given to a drive. And mdadm does not give direct for such operation. Isn't there a way I could remove and add disks whenever feeling like it?? One way would be open the cover and physically remove the disk. I'm not taking the risk, though. System is almost always in use, so there is not much chance for me to power off for temporary disk removal.

RAID CONFIGURATION:
~# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Fri Aug 4 17:38:26 2006
Raid Level : raid1
Array Size : 238950720 (227.88 GiB 244.69 GB)

View 3 Replies View Related

Debian Configuration :: Fdisk And System Disagree About Disks?

Dec 15, 2010

I have never seen this one before (see below) - note how /dev/sda1 is mounted from the first disk listed by fdisk, but /dev/sda2 comes from the second disk; what is going on here? This is what I did: I installed the latest debian "Testing", which went well - it found the disks in the order show by fdisk -l here. When it booted up after installation, it failed because it couldn't find /, which I repaired by editing the grub menu (I told it to start from the other disk), and it came up. But now I had to mount /u01 by hand from /dev/sda1; strange. I suppose I could just go and change the physical disks around, but I'd like to understand this. Any ideas?

# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

[Code]...

View 2 Replies View Related

Debian Configuration :: Use A Key To Turn Off Display On Laptop?

Sep 17, 2010

I am wondering if it is possible turn off my display with a key of my laptop's keyboard. I mean if I press ctrl + o then my display turn off and then if I press ctrl + o my display turn on.

View 5 Replies View Related

Debian Hardware :: Hard Disk Click Sound When Turn Off The Computer?

Oct 11, 2010

I have installed Debian Squeeze on my Laptop. Everything seems to start to work fine. The only think I am not sure is the hard disk click sound only when I shut down the computer. It happens right before the power is totally cutoff. I normally do not have this sound. I presume that this maybe due to the fact that the head goes back to original position but I am not sure. Is this normal?

View 5 Replies View Related

Debian Configuration :: Service Settings Safe To Turn Off?

May 12, 2010

My system goes through slow periods where it just crawls and others where it's fine, but I'm wondering which service settings are OK to just shut off to give me a bit more oomph when I boot up.The others I'm pretty OK with like spam assassin, dictionary server and so on, but some of the others i wonder if they only serve to slow things down..Also..I live in a very dusty environment and I KNOW the fans and other parts get caked with dust and it wouldn't surprise me if the dust got so bad it just stops the fans completely so once in a while I use my air compressor to blow the crud out and I usually get covered myself, but how safe is using the compressor? It's not the type that typically fills up with condensed water droplets so that isn't a super critical issue..It's a small 1 hp deal, elect drive and so on.. Safe enough? It's all I have and/or can afford..

View 1 Replies View Related

Debian Configuration :: While Watching YouTube Makes Screen Turn Off

Jul 1, 2015

When I watch any video on YouTube my screen will turn off (no HDMI connection) and then it will turn on after a couple seconds (10 -40 seconds). When I played Borderlands 2 the screen is completely fine.

View 10 Replies View Related

Debian Configuration :: Cannot Turn On Nvidia - Unknown Header Type 7f

Dec 24, 2015

on my dual HD5500/GT940M. I can not turn on Nvidia. just install bumblebee and got the error "unknown header type 7f" if I remove bumblebee, Nvidia 340 loaded but system run on HD5500, no way to use Primus or to switch to 2nd card.

View 0 Replies View Related

Debian Configuration :: Fstab Configuration And Timeout - Automatically Continues Booting Even If The Hard Drives Are Not Attached?

Aug 3, 2011

I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)

View 5 Replies View Related

Ubuntu :: Keep Connect Both Hard-disks / At Start Select From Which Hard-disk To Boot?

Mar 9, 2011

I have two internal harddisk. Harddisk 1 has ubuntu, fedora installed and harddisk 2 has ubuntu installed. I normally connect either one, and use it. How can i always keep connect both harddisks, and at the start, select from which harddisk to boot? Or it's not possible?

View 7 Replies View Related

Debian Configuration :: Bluez Gatt Tool Not Connected To Hcix Device

Apr 19, 2016

Using jessie over 4.2.8 or 4.3.4 kernel.

Used both the default bluez package, 5.23 and building bluez 5.36 by hand.

hciconfig shows a good configuration,

hci0: Type: BR/EDR Bus: UART
BD Address: 78:A5:04:31:3C:4B ACL MTU: 1021:6 SCO MTU: 180:4
UP RUNNING
RX bytes:82105 acl:0 sco:0 events:1989 errors:0
TX bytes:516 acl:0 sco:0 commands:48 errors:0

hcidump -x does show Commands/Events received, beacons are being seen, and collected by our app.

> HCI Event: LE Meta Event (0x3e) plen 42
LE Advertising Report
ADV_IND - Connectable undirected advertising (0)
bdaddr F9:77:66:E8:F7:8B (Random)
Flags: 0x06

[Code] ....

However when the app tries to connect it always gets connection refused at gatt_connect.

gatttool behaves the same way, and hcidump does not show any connection attempts, implying no connection between gatttool and the device, although it is specified on the command line.

Finally although the bluetoothd is running bluetoothctl also shows no default controller found. I had edited /etc/bluetooth/uart.conf, adding an hciattach entry for the device but that changed nothing when restarting the bluetoothd. Entering a garbage entry into that file does not produce any errors, so I am not sure it is even being read.

Also systemctl|grep bluetooth shows :-

sys-devices-virtual-bluetooth-hci0-rfkill0.device loaded active plugged /sys/devices/virtual/bluetooth/hci0/rfkill0
sys-devices-virtual-bluetooth-hci0.device loaded active plugged /sys/devices/virtual/bluetooth/hci0
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
bluetooth.target loaded active active Bluetooth

/sys/devices/virtual/bluetooth/hci0/address shows the correct MAC, but /sys/subsystem/bluetooth/devices/hci0 does not exist, a post elsewhere indicated this was not a problem but that seems odd.

Is the uart.conf file still used([URL] .... would suggest yes) and if so is the format a full hciattach command or merely the hciattach parameters?

View 1 Replies View Related

Debian Configuration :: Wheezy - After Update Systemd Turn Off Laptop Screen On Boot

Sep 25, 2015

I decided to update all the software on my computer. Fortunately, it upgraded kernel version 3.14 to 3.16. I was happy to learn that suspend now worked on my laptop by calling pm-suspend, but it did not worked by closing the lid. So I search and found on debian's website that installing systemd and adding some config lines in /etc/systemd/logind.conf would sove the issue. So I followed the procedure and did like instructed, to end up with a computer that boots on black screen.

The last verbrose line I see on boot up is "kvm disabled by bios" and then it shutdown down the screen. The computer works, as I can login and shutdown by doing those operation blindly.

I tried removing systemd but it still does not work. If I use the old kernel 3.14 I can boot without any problem, but if I use kernel 3.16, I boot to a black screen. I remember successfully booting in 3.16 before installing systemd.

View 4 Replies View Related

General :: Check JFS Disks (fsck.jfs) At Every Boots Using Tune2fs Like Tool?

May 15, 2010

Fstab has at the end some values: 0 1 for / or 0 2 for /home or others.

It is nice to set tune2fs -c 2 for disks that have to be reliable and increase the security of the data.

tune2fs is not working for JFS. How to make this check at every single boot of the Debian/ubuntu machine?

View 5 Replies View Related

Debian Hardware :: Network Card Doesn't Turn On Linux Mint - Failed Configuration

Nov 24, 2014

My card Wifi network doesn't turn on, even at loading configuration of the system is failed. I have to wait a long time until the system itself to load.

And when I write ifconfig or iwconfig is displayed in the console interface wireless card.

And when I come in the panel on the network card, it immediately pops up a window that you can not load the network card modules.

I don't know what could have happened, I do not recall that I recently messed with the system.

Here are the pictures: [URL]....

And here I join dmesg.log file, at the end of a failed: [URL] ....

I have linux mint 17 quiana cinnamon

View 4 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Debian Hardware :: Servers Which Contain SATA Disks And SAS Disks?

Feb 25, 2010

I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?

I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);

dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)

(a new server,2 CPU 8 core and 8 gb ram)

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)

[Code].....

View 3 Replies View Related

Debian Configuration :: Hard Disk Won't Stop Spinning Up / Down

Feb 11, 2015

I've bought a new notebook. The hard drive won't stop spinning down and then spinning up again during load. I don't want HD power saving, so I disabled it within

1. /etc/hdparm.conf
Code: Select all# -B apm setting
apm = 255
# -B apm setting when on battery
apm_battery = 255

It didn't work. I can still hear the HD spin up. It's annoying in a video game because things just suddenly stop for a second.

2. /etc/udev/rules.d/50-hdparm.rules

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

This was also every tip I could find during RTFM.

Other specs:

Acer Aspire E5-521G-88A8 Notebook
AMD A8-6410 APU
4 GB RAM
AMD Radeon R5 2 GB VRAM
hdparm model number: ST1000LM024 HN-M101MBB

Debian Jessie

View 8 Replies View Related

Debian Configuration :: Fdisk And NTFS Hard Drive

Aug 24, 2015

when I type 'fdisk -l' I get the following:

Device Boot Start End Sectors Size Id Type
/dev/sdb1 16065 584830259 584814195 278.9G f W95 Ext'd (LBA)
/dev/sdb5 16128 584830259 584814132 278.9G 7 HPFS/NTFS/exFAT

I have 2 hard drives both are 278.9GB in a mirror raid 1. Why does 2 partitions show up? Are they referring to each physical hard drive? I want to believe that this is the same partition and not two different physical hard drives since both are in the same 'start' and 'end' range. Is that correct?

View 3 Replies View Related

Ubuntu :: Can't Access Two Different Hard Disks

Jan 30, 2011

I'm having two hard disks in my pc. I can easily access both of them from my windows. But in case of ubuntu i can access only that hard disk on which ubuntu is installed. The other hard disk can not be accessed from ubuntu.

View 2 Replies View Related

Hardware :: Using Old Hard Disks In New System

Nov 10, 2010

I'm going to buy a new system, and I have 2 SATA hard disks from my old system. One is installed with a Linux OS, the other with Windows Vista.For the Linux hard disk, will I be able to simply use these 2 hard disks on the new system and boot up, retaining all my data? If not, how do I transfer the data from my old hard disks to my new hard disks? My old system is faulty (no signal to monitor), so I can't just copy everything directly using, say, a portable hard disk.

View 3 Replies View Related

General :: External Hard Disks

Mar 22, 2010

I'm using SUSE11.1, and connected to my system, a DELL 7500, a 1.5 TB Buffalo external HD. I partitioned it in 4 sectors.After connection, nmediatly the mounted disk would appear on the screen,(each partition with its respective name), and could use it as any other folder.To unmount the external Hard disk, I just ejected each partition, and had no problem. I used the same HD with my Mc, and things were all right, I used to backup automatically the Mc. However after having been using the system in this way for more than half a year, suddenly the hard disk began to rattle...and the SUSE system on the DELL, nor the Mc can mount the external hard disk any more. Thus, the partitions can not be mounted any more. When I cd to /media/ in the SUSE, the names of the partitions appear, but they seem to be empty..On the Mc, going to /Volumes/, before the problem appeared, the names of the partitions were there... but now, they are no more and the automatic back up either.So my question is, how to mount the disk, if it needs mounting... or how I can recover the partitions and the data therein... I am clueless, after two weeks trying to solve the problem..

View 1 Replies View Related

General :: Regarding Local Hard Disks

Dec 28, 2010

In Fedora when we double click the Partitioned Local Hard Disks then we have to give the root password otherwise it will not open. Is there any way to read and execute the Partitioned Local Hard Disks without giving the Root Password.

View 5 Replies View Related

Software :: Lilo For Two ATA Hard Disks

Jan 23, 2011

I am booting Slackware 13.0 on an X86 from a (master) ATA hard drive. I have added a second (slave) hard drive that contains an installation of Slackware 13.1. This works in so far as I can boot 13.0 from the master drive, then mount the slave drive and read and write files to it. So the hardware is basically working.What I want to do is configure lilo so I can choose to boot either 13.0 or 13.1. So far I have not gotten this to work.

Under 13.0 the slave disk appears as /dev/hdb. The root-partion for 13.1 on the slave is the first primary partion on the slave, and appears as /dev/hdb1 when viewed under 13.0. What stanza should I add to lilo.conf to make the slave 13.1 bootable?

View 5 Replies View Related

Debian Configuration :: Atheros Ar542x Hard Blocked After Ifconfig Down And Up

Aug 20, 2015

I am having some troubles with my networking. I have a fresh install of Debian 4.0.4-1. My problem is: I boot up and everything is great.

Code: Select all~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1e:68:46:4b:ae 
         
     UP BROADCAST MULTICAST  MTU:1500  Metric:1
     RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         
[Code] ...

I try to switch the hardware switch on and off with no avail. The only way to fix it is to reboot. But then when I ifconfig down and up I'm stuck in airplane mode again.

View 4 Replies View Related

Debian Configuration :: How To Create Script To Format Hard Drive

Sep 10, 2010

I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?

View 3 Replies View Related

Ubuntu :: Format Alignment Of Hard Disks?

May 27, 2011

I thought that alignment of 4096-byte sector Advanced Format hard drives was automatically taken care of via Gparted or Disk Utility until I bought a Hitachi HTS547575A9E384 (Travelstar 5K750) and saw that Disk Utility showed my partitions to be out of alignment. I then realized that my WD, which I had bought a few months ago, probably had its jumper set to emulate a 512-byte sector legacy drive (512e) and is probably not set to the AF setting.

Straight to the problem.

I've searched many sites, some of which suggest using fdisk (others the proprietary software of the hard drive's manufacturer). It is essential that one change the arguments prior to changing the partition table as there is no way back (yet, as far as I know) without having to move data to another drive and starting all over:

[Code]...

View 9 Replies View Related







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