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
ADVERTISEMENT
Feb 23, 2009
I'm in rescue mode with Centos 5.2 disk trying to install/mount a new disk to extract data out from the failed server.
Plugged in a new SATA drive and syslog shows the drive being detected
SCSI device sdg: blah
sdg: Mode Sense: 00 3a 00 00
sdg: unknown partition table
sd 3:0:0:0: attached scsi disk sdg
However fdisk and mount does not find the drive. I tried echo "---" /sys/class/scsi_host/host3/scan based on one of the previous threads but get "write error: invalid argument".
how should I get the drive to be usable?
View 4 Replies
View Related
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
May 4, 2009
I have a 500gig SATA drive and a 320gig IDE drive installed in an HP a6700y/9150e 1.8GHz Quad, 4 gig ram... The Fedora installer only sees the 500g SATA drive, and not the 320g IDE drive where I want to install Fedora. Now I know that I can't always get what I want, but in this case I am not willing to mess with the working Vista installation just to get Fedora installed.
Vista BTW sees the 320 just fine. I am clueless as to where to begin with this. I gave up in Fedora with my Celeron based machine because of speed issues.... But this new box should have more than enough horsepower to run F!
View 1 Replies
View Related
May 23, 2009
Does anyone know if fdisk is currently blind to SATA drives? If so, is there an alternative command one can use to list ALL partitions, mounted and unmounted, that are available to the system?
View 12 Replies
View Related
Jun 14, 2009
I am attempting to install F11 from full media onto Abit IP35 Pro m/b connected to two (unitilized) Seagate 300GB SATA drives (7200.9) and attempting to create a software RAID1 setup as I have in FC8. I am using the graphical setup (as I have in other releases.) However, the ONLY "drive" shown when creating a RAID partion is /dev/mapper/nvidia_jhhdfjhf with free space of 286165 MB. There is not /dev/sda0, /dev/sda1 drives that I would have expected to see.
NOTE: All BIOS options for SATA are set to "IDE", not RAID or AHCI. The Seagate Seatools software sees both SATA drives and all tests are successful. What now? It seems like this is a major step backwards from F10. It does not seem mere mortals can install with RAID1 on this motherboard.
View 4 Replies
View Related
Dec 30, 2010
I realize this has been asked many times before, but I'm fairly certain I've read through the majority of those threads and haven't found a working solution yet. I recently built up a Ubuntu Server 10.10 x64 box for backups, serving up files, and development activities. The server is running SATA drives in AHCI mode. Because this is a file server I have quite a few hard drives installed, which are currently a mix of WD 1TB Black and Green drives. I'm attempting to get my non-boot/data only drives to spin down after 10 minutes. I've tried the following:
1. Edit hdparm.conf with the following, replacing 'b' with the identifier for each disk:
Code:
/dev/sdb {
spindown_time = 120
}
This fails, and based on my research I'm pretty sure udev isn't properly running the hdparm configuration anyway.
2. I've also tried manually setting the spin down time with hdparm as follows (via command line and through rc.local):
Code:
hdparm -q -S 120 /dev/sdb
Which states that it successfully set the spin down timer to 10 minutes, but this also fails as the drive never spins down.
3. Finally, I just forced it to spin down immediately with:
Code:
hdparm -y /dev/sdb
This worked! Unfortunately, that approach isn't terribly useful. The drive stayed spun down for 20 minutes (thus far), so I haven't bothered to run iostat, etc to try and figure out if something is keeping the drives active. I don't believe there is because one of my drives isn't even mounted currently and it also won't spin down automatically.
View 5 Replies
View Related
May 13, 2011
Just what the title says ... I'm trying to install Ubuntu 10.10 and it does not detect either 300G SATA drive in my system. One of them is /home for my non-OS software and the other is used for data storage.
It does detect the drive (SDC) where I have 9.04 installed, but /home is on one of the SATA drives. Where to start? 9.04 works just fine, but I'm running tio problems with FLASH web sites insisting I have to upgrade Flash and Adobe doesn't have anything for 9.04.
[Code]...
View 3 Replies
View Related
Aug 13, 2011
(Ubuntu 10.10) I went to System->Preferences->Power Management and checked spin down hard disks whet possible. I have two internal sata hard drives. One is for the OS and the other is for media. Neither Hard disk is being spun down. Is there something else I need to do?
View 5 Replies
View Related
Apr 2, 2010
The system is running great in fedora 7 or 12 with 6 sata drives installed. I tried to install 2 more sata drives(total 8 drives), tested some combinations: 6 drives in sata ports and 2 in sas ports, or 2 in sata ports and 6 in sas ports... the BIOS can detect all 8 drives, but the fedora 7 and 12 just detect 6 sata drives. It could be problem of sata/sas drivers of Linus. The chip set: Intel ESB2(6 ports) + LSI 1068E SAS controller(8 sas/sata ports) Linux: Fedora 7 and Fedora 12
View 7 Replies
View Related
Jan 20, 2010
I asked this on an Ubunut forum about a year or so ago but got no response. I have an Asus M2NE-SLI motherboard. All my HDD's are Sata. I have 2 burners - both IDE. For windows, it see's my hard drives in the order I have them setup according to their cable placement on the motherboard (Sata ports 1-3, Sata 4 I have set for external sata). However within Linux - and I mean any linux distro I've tried (Gentoo, Sabayon, Ubuntu, Mint, Fedora, even Gparted) see's my Sata drives completly out of order.
For example:
Sata Port 1 - Primary HDD - 500GB
Sata Port 2 - Secondary - 500GB
Sata Port 3 - Secondary - 250GB
Windows see's them as drives C:, D:, E: Respectivly Linus see's:
Sata Port 1: SDB
Sata Port 2: SDC
Sata Port 3: SDA
Or something like that. Its really messed up. Does anyone know what could be causing this? This causes all sorts of problems setting up a dual boot environment because Windows will place its boot loader on the Primary boot drive (Sata Port 1), Grub will install anywhere i tell it to, but because the drive order is messed up it breaks - unless I completely mess around with the drive order in the bios. I've resorted to putting Windows on one HDD, and Linux on an old external Sata for the time being, and use the Bios's Drive Boot Manager to select which drive to use. This is not the ideal way to run it.
View 2 Replies
View Related
Feb 8, 2009
i have 2 shiny new 1TB SATA drives. I have a running system already, basic install on a single disk. install both new drives & raid1 them on a single partition - mount them for storage. Seems simple but all i can find are howto's on instaling the whole system & booting on RAID.
View 1 Replies
View Related
Jul 8, 2010
I am running the 2.6.25.14 kernel on a RedHat 5.3 X64 bit OS. I am booting off a USB compact flash. When I put two hard drives in a test system the OS does not allow me to access either, however if I have one hard drive inserted I am able to mount the hard drive fine. Extremely strange. When both hard drives are inserted dmesg reports a sde and sdf, it just will not let me access them. I am not sure if this is a hardware issue or OS.
fdisk /dev/sde says unable to open. smartctl -i /dev/sde says NO Medium found. When I boot with only one inserted i am able fdisk. mount, etc... /dev/sde just fine. The USB controller has 5 slots to insert various media, but I am just using it for its compact flash slot.Why will the system play nice with one hard drive and not with two?
View 2 Replies
View Related
May 14, 2011
I have a 3 year old PC with 4 internal SATA ports. My old SATA hard drives, all smaller than 2TB, work fine. If I buy a 3TB SATA hard drive, will it work in Linux? Will Linux with GRUB be able boot from such a hard drive without a BIOS upgrade? With a BIOS upgrade? It's fine for me to upgrade my Linux to the newest kernel.
View 1 Replies
View Related
Apr 16, 2010
I'm trying to install 10.04b2 x64 on my new rig and for some reason the live cd can't detect both of my 1TB Sata 3 drives. There is no Raid and the bios has them flagged as IDE. I have also tried adding pci=nomsi to the boot string to no avail.
View 8 Replies
View Related
Mar 3, 2010
I have recently added 2 500GB sata drives to my machine. I have a Supermicro X6 mobo (yes its rather old) and the Bios recognizes the drives as Master 2 and Master 3 ide , but the linux will not recognize the drives. The system is running RH8 kernel 2.4.31 and i dont have the option of upgrading the kernel at the moment. Is there any way to get the linux to recognize the drives?
View 8 Replies
View Related
Sep 11, 2010
I have an IBM xSeries server with a 120gb IDE hd. I would like to use it for mail and web server at work. Obviously, I need a bigger HD. The only thing is I can't find a big (1TB) IDE HD all I can find are SATAs and this server's motherboard does not support SATA drives.
View 3 Replies
View Related
Dec 10, 2010
There is a FC4 Server with A8V-MX mobo currently running 2x WD500 SATA drives in RAID1 with a third WD500 SATA drive for data backup. This machine has been running 24/7 since January 2007.The plan is to replace the WD500s with WD 2TB SATA II drives in a similar setup as above. i.e. 2 drives in RAID1 and the third drive for data backup.Definitely looking to do a clean Fedora 14 install on the 2TB but have some questions.
1. Will Fedora 14 detect the VT8251 connected SATA drives?
2. If not, how do I get drivers so it will? (I have the mobo CD with makedisk, but prob for windows)
I already have the 14 x86-64 DVD ready to go, but I am not yet at the site.the BIOS settings are: SATA, RAID or AHCI.
View 1 Replies
View Related
Mar 31, 2011
My new WD Caviar Blue 500 GB SATA 6 Gb/s Hard Drive (WD5000AAKX) is not being detected on Fedora 14 live.
View 8 Replies
View Related
Jul 21, 2010
I have two drives one is a 500 gig SATA drive running Vista SP 2 now the other Maxtor 160 Gig drive is empty. I would like to install Ubuntu on that drive. Now I just though of installing from the setup however would this screw up my Vista partition ?
View 1 Replies
View Related
Jan 7, 2011
I have three 640GB sata hard drives that I would like to put into a raid 5 configuration. I would like to opt for a software raid 5 so its hardware independent. I was trying to follow these instructions, but they seem a bit dated.
View 2 Replies
View Related
Feb 14, 2011
My system won't boot unless I have 2 sata drives. It doesn't matter what's on the second one. It even boots if the second "disk" is a powered sata to IDE adapter attached to an unpowered IDE drive.If I don't have the second drive I get this when I try to boot:
Alert! /dev/disk/by-uuid/ ...<your UUID>.... does not exist,I don't see anything that seems odd to me in my /etc/fstab file.
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0[code]....
I've done the whole use a live disk, chroot into my system and reinstall the kernel to no avail. uname -r gives -- 2.6.32-28-generic
View 6 Replies
View Related
Apr 14, 2011
I have recently built a new system which has two internal sata drives. The plan was to install windows 7 one drive and ubuntu 10.10 on the second drive for KVM hosts. I started with the windows install which completed, then I went forward and installed ubuntu 10.10 64bit to my second drive (sdb). During the installation I chose to manually partition my drive. i partitoned the drive (sdb) as follows
/boot - 1gb
/ 40gb
swap 16gb
extended partion of 400gb
I then selected sdb to hold the boot record, as it was set by default to sda (my windows drive). The OS installed fine. I then went to reboot my system so go back into windows, by selecting the first drive in the bios. Once selected the system keeps booting into Ubuntu, no matter which drive I select. Now I checked the grub.cfg file and i see all references to hd1 there is no reference for windows found. I then proceeded to do 'sudo update grub2' this did not pickup any reference to my windows droive to add to the grub menu. When i select the ubuntu drive to boot fom my bios, i get no grub menu appaer it just boots quite happily into ubuntu. Can anyone please provide any resoloution to this, I can provide additonal outputs regarding my partion tables etc. later this evening when I get back from work.
View 9 Replies
View Related
Jan 11, 2011
I have three Linksys NSLU2s each running nearly identical setups: SlugOSBE 5.3 with two USB SATA hard drives in enclosures. One partition on each drive is used for software RAID 1. The third NSLU2 which has two identical 500gb Western Digital Blue Scorpion SATA drives and two identical USB enclosures (Flexmate) is giving me issues. The second hard drive keeps getting booted from the RAID array - looking into it I noticed that, for some reason, Linux is reading both RAID partitions as having an identical UUID. I thought maybe that was the issue so I've set about trying to fix it.
SlugOSBE doesn't have tune2fs, so I removed the drives and used tune2fs to create new UUIDs for both partitions (which usually show up as /dev/sda3 and /dev/sdb3) on my Kubuntu 10.10 machine. tune2fs reports the correct new UUID under Kubuntu. But when I plug the drives back in to the NSLU2, it still shows the old UUID for both drives. I've deleted /etc/blkid.tab, but that doesn't seem to do anything.
View 1 Replies
View Related
Apr 2, 2010
I installed debian 5.0.4 server on a PC that has both IDE and SATA controllers. I used an IDE HD to install the OS. The input device was a USB DVD unit. The IDE drive showed as /dev/hda and the 4 SATA HDs showed as /dev/sda1, /dev/sda2, /dev/sda3 and /dev/sda4. After the OS was installed the reboot started which brought up an error: GRUB GRUB Read Error
I then disconnected the SATA HDs and rebooted successfully. So no PROBLEMS with just the IDE drive connected, grub works fine. If I reconnect the SATA HDs though grub fails with:
GRUB GRUB Read Error
The problem originated when the installation got to the GRUB implementation. Here the installer engine asked me If I wanted GRUB to be installed on the MBR, to which I said YES. The installer had listed the IDE drive (/dev/hda) before the SATA drives (/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd). After the installation finished and the machine was restarted, BIOS looked at the SATA drives first could not find the grub stages and it displayed an "Read Error".
After realising what was happening I looked at the BIOS settings to see if the HD booting sequence could be altered. The BIOS did indeed list the 4 SATA drives first and the IDE HD last. BUT it would not let me alter the booting sequence. So I was stuck with what the BIOS doing. So I decided I take the IDE drive out and create a 20G partition on the first SATA to accommodate the OS. So now everything works OK.
View 2 Replies
View Related
Apr 21, 2011
Is there an easy way to add SATA drives to an existing system and have them m automatically at boot?So far I've been able to create a partition and format but they never mount at boot.What do I have to put in fstab so it will work?Also, since RAID doesn't work in Debian, is it possible to make two drives mount at the same folder
View 3 Replies
View Related
Jun 4, 2010
I have the following PC set up:
Dell 8400 with 3 GB of RAM with 3 160 GB SATA drives:
The first one has Windows XP installed on it.
The second one has been newly formatted and Ubuntu 10.04 has just been installed on it (20 GB / and 6 GB swap) with grub being installed on the first partition and not the master boot record. The remainder will be for storage for Windows.
The third drive is simply storage for Windows.
At this point I am able to boot XP just fine, but I'm not able to boot Linux. I just getting a blinking cursor or the PC just reboots when I choose Linux. I believe I have set up my boot.ini properly using:
C:Bootsectc.lnx="Linux Ubuntu"
After running dd if=/dev/sdc1 of=bootsect.lnx bs=512 count=1 and putting that file in place.
For reference, I don't believe this is a Linux problem, as much as I am simply trying to guide the ntldr to be properly pointed to a place where it can boot Linux. When I go into the bios and disable the first and the third hard drives, grub pops right up and I'm able to boot Linux with no problem, so that piece is fine. I think it's just now trying to get the correct syntax so I can boot Linux without having to disable drives and reenable them.
For kicks I even tried these syntax types in boot.ini:
multi(0)disk(0)rdisk(1)partition(1)="Linux11"
(i.e. 2nd disk, 1st partition ...etc...)
I read many troubleshooting documents on dual booting and so forth but I just can't get this right. For reference, I stated the way XP views my Hard Drives in the intro, which seem to be a different order than Linux sees them, yet I believe I've tried all the combos of settings for this to work (yet clearly have not). I have attached the output of boot_info_script*.sh here: [URL]. Boot Info Script 0.55 dated February 15th, 2010 ..... Devices which don't seem to have a corresponding hard drive.
View 9 Replies
View Related
Dec 18, 2010
I recently finished installing Fedora 9 on a Prolient ML 330 G6 Server, but i configured the SATA hard drives to be viewed as four seperate hard drives. I was asked to merge the drives to be seen as one 800GB hard drive, my biggest fear is that we had set up Samba to share folders between fedora 9 giving specific users access to specific files saved on the Prolient server, will those settings be lost.And could you call that a File Server or do you have to enter any more settings And also if anyone could point me to a tutorial on Logical Volume Management and Raid specifically for fedora 9
View 10 Replies
View Related
Apr 27, 2011
I've had a number of problems with bluetooth running under Gnome ubuntu 10.10 on a Dell Inspiron N7010 with Dell Wireless 365 Bluetooth Module. I mainly use bluetooth to browse files on my phone. I would frequently get file transfers to the phone hang. And, the bluetooth icon would disappear from the taskbar after after a resume from sleep. At first, I thought the fix from here would help, but it didn't entirely fix the problem.
Later, I realized that the problem showed up after I had installed KDE. Then I found that uninstalling bluedevil, the bluetooth stack for KDE, made everything better. So now I have working bluetooth again.
View 1 Replies
View Related
Mar 18, 2010
I have an SD-VIA-1A2S PCI card with 2 sata ports (and one ATA-133 that isn't used). Two new Western Digital Caviar Green drives (WD10EARS 1TB) throw repeated errors in kern.log (removed date/time/host info for brevity):
[ 7.376475] ata2.00: exception Emask 0x12 SAct 0x0 SErr 0x1000500 action 0x6
[ 7.376480] ata2.00: BMDMA stat 0x5
[ 7.376483] ata2: SError: { UnrecovData Proto TrStaTrns }[code]....
I'm using Ubuntu 9.04 - 2.6.28-18-generic, though I have tried live cds of Ubuntu 9.10, Fedora 12 and OpenSUSE 11.2 - all running various 2.6.31 kernels - and all received the same error.Based on testing these drives and this card in two other machines and combos of connecting the drives directly to the motherboard or the add-in card, I'm relatively convinced that it's the VIA chipset that is the problem.Another computer that also has an onboard VIA SATA chipset (like the add-in card) produces the same errors when the drives are directly on that motherboard. I have been able to verify that the drives are perfectly good, and I tried everything I can think of in terms of swapping cables, psu isn't overloaded, etc.
The error happens on boot once or twice, after using fdisk on the drive once or twice, and constantly when attempting to sync a new mdadm raid 1 array created on the two drives.I'm completely open to buying a new PCI add-in card if someone can recommend one with 2 internal sata ports that works well in Debian/Ubuntu.
View 2 Replies
View Related