Fedora Hardware :: F13 - Udev Des Not Create Entries For SATA Disks

Jul 17, 2010

I have Fedora 13 installed in a new computer, and form some weird reason, udev is skipping three of my HDs. Looging the output for udev --triger, the entries for the HDs are skipped

Code:
[root@storage ~]# lspci
00:00.0 Host bridge: ATI Technologies Inc RD780 Northbridge only dual slot PCI-e_GFX and HT1 K8 part
00:02.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (external gfx0 port A)
00:06.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port C)
00:07.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port D)
00:0a.0 PCI bridge: ATI Technologies Inc RD790 PCI to PCI bridge (PCI express gpp port F) .....

View 5 Replies


ADVERTISEMENT

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

Fedora Installation :: After Preupgrade: F15 Doesn't Recognize Sata Disks Connected Through Marvell Controller

May 31, 2011

I upgraded F14 to F15; However, F15 no longer recognizes my 3 sata disks connected through Marvell controller. The controller is an integrated Marvell chipset 88SE6480. The controller has its own manufacturer driver but it was intended for RHEL 5.4 (mv64xx) and installation of this driver fails to generate mv64xx driver.

View 3 Replies View Related

General :: Preventing Udev From Creating Device Entries Under /dev

May 21, 2010

I need to prevent udev from creating the /dev/v4l/by-path/* and /dev/v4l/by-id/* files upon connecting my webcam. The problem is that Kopete doesn't want to display the video if these files are present. It works fine if I remove them, but I'd rather not have them created in the first place, since they seem to be completely useless anyway.

View 4 Replies View Related

Hardware :: UDev Rules And Detecting Powered Up SATA HDD In 5.25 Enclosure?

Sep 7, 2010

I have 3X 5.25 SATA removable bays with hard drives in it. I am working on a new script to manually backup some very important data to those drives. Basically, to eliminate risks of burning the HDD's, or accidentally (either by me or my scripts) destroy data, I normally keep those drives offline, i.e. unpowered. The enclosures are Vantec EZ swap and require a key to turn them on/off. Once it is turned on, Slackware see them without a glitch. My script will basically display a message to warn that the backup is about to happen, then once the user click the OK button, mount the partition to a local folder and then backup the data. The partition will then be unmounted and a new message will be displayed to ask the user to "unplug" the HDD. Cron will take care of the schedule.

Basically, in pseudo code:

Code:
1-Verify if sdd is connected (powered)... If so, procee to #2, else display message box "The HDD is not connected"
2-Mount the partition sdd5 to the local folder
3-Backup
4-Unmount the partition from the local folder
5-Display a message box "The backup was completed with success. You can now disconnect the HDD"

how can I automate the detection of the hdd? I would like the script to poll or probe the HDD to see if it was properly turned on, and if so, proceed with the rest... I tried all kind of stuff but no luck... For example, fdisk -l will list the drive & its partitions if it is connected (powered) and wont if the drive is not connected. I cant use the output of fdisk to efficiently accomplish what I am trying to do...

I want the script to display the messages boxes (Please plug the HDD & You can now unplug the HDD) to a different display (i.e. my laptop). The reason is because the script will run on my server that has no monitor...

View 4 Replies View Related

Debian Configuration :: Creating Udev Rule For Specific SATA Port

Apr 19, 2011

I have a trayless SATA hotswap bay that is really terrific for quickly attaching and removing SATA hard drives. I'm trying to write a udev rule to create a symbolic link to the device node for the drive that is attached through the hotswap bay (/dev/bay -> /dev/sdX). This eliminates any ambiguity when performing destructive tasks (fdisk, etc). I'm running squeeze amd64. I've read through several tutorials and have it working somewhat. Here's the output of udevadm info for a drive attached via the hotswap bay.

looking at device '/devices/pci0000:00/0000:00:11.0/host7/target7:0:0/7:0:0:0/block/sdb':
KERNEL=="sdb"
SUBSYSTEM=="block"
DRIVER==""
ATTR{range}=="16"
ATTR{ext_range}=="256"
ATTR{removable}=="0"
ATTR{ro}=="0"
ATTR{size}=="156301488"
ATTR{alignment_offset}=="0"
ATTR{capability}=="52" ....

Here is my udev rule
DEVPATH=="/devices/pci0000:00/0000:00:11.0/host7/*", SUBSYSTEM=="block", SYMLINK+="bay%n"

This produces the desired behavior and gives me an fdisk-able device node. The problem I am having is that the "host" component of the DEVPATH varies from bootup to bootup. I'm just using on onboard SATA, host2-7, specifically host7. There is also onboard PATA, host0-1. It seems to just be random which "host"s are assigned to which controller. For example, the next time I boot the system, the onboard SATA will be host0-5 and the onboard PATA will be host6-7. In this simple case, I could just write 2 rules, one for each possibility and it would still be correct because of the different PCI addresses of the two controllers. But on systems with more SCSI (uh... libata, actually) controllers, a "host" file can point to different physical ports between bootstraps. This would be bad. Does anyone know of a way to write a rule to tie a device node to a specific physical SATA port on the motherboard/hba?

View 1 Replies View Related

Hardware :: PCI SATA Card - Can't Find Any Corresponding Entries In The /dev Folder

Jun 17, 2011

I'm running ubuntu server (no graphics) 10.04 kernel 2.6.35. I added a PCI SATA card with 4 ports (Masscool XWT-RC040) which according to the company website [URL] supports linux. lspci yields

[Code]....

I would think the third line from the bottom reflects my card. However I can't find any corresponding entries in the /dev folder.

View 5 Replies View Related

Ubuntu Installation :: Automount Sata Disks On Start?

Jan 17, 2010

i installed latest ubuntu server 9.10 on my mini itx board which i have 1 4gb IDE disk and 4x2TB sata disks attached no i want those disks to automount on startup is there a way without modifiying fstab? the thing is, i want to expand the storage over time (next hard disks in a few months) and maybe a second mainboard in a year so i need a simple way to mount everything without being to mainboard specific like doing fstab entries

View 2 Replies View Related

Ubuntu Installation :: Blocking - SATA Disks Not Recognized

Sep 2, 2010

I try to install ubuntu 10.04.1 on my pc but i fails at the very beginning because of HDD problem. I get messages such as :

[Code].....

View 3 Replies View Related

Ubuntu Installation :: USB Detected Beofre The Sata Disks Are?

Oct 19, 2010

used to run ARC linux and Windows 7 on my computer and i am now trying to install Ubuntu 10.10 X86_64When i used the live disc of Ubuntu 10.04 and load the installer it finds my four harddrive they way it should... sda,sdb,sdc,and sdd...When i however try the same with ubuntu 10.10 it displays my usb cardreaders drives first and then my hardrives as sde sdf sdg and sdh.I tried installing ubuntu with the reader unplugged and then reconnecting it after installation...But when i then boot with the reader attached it says it cannot mount drives sda,sdb,sdc and sdd becuase they are not ready.I think it is again detecting the usb cardreader before the sata controller ...Is there a way for me to alter the boot detection order so it will find my harddrives first and then the usb cardreaders ports ?

View 1 Replies View Related

Hardware :: Configure The Master And Slave On 5 Sata Disks?

May 13, 2010

How to configure the master and slave on 5 Sata disks? Is there that or it is automatic.I install Debian, ok, master boot ok, on the first sataAnd at reboot, just after install, the boot hangs and no grub appears.

View 3 Replies View Related

CentOS 5 Hardware :: Poor I/O Performance On IDE/SATA Disks?

Jan 13, 2010

I've just removed fedora 10 and installed CentOS 5.4 both x86_56 on my Lenovo ThinkCentre 9091-CTO workstation, and observed serious performance degradation while intensive I/O operations and huge load without significant CPU consumption in user mode with about 50% in I/o wait.For example if I do the "tar xjvf some_large_tar.bz" file and run vmstat i get the output below. This is the only cpu and io intensive process running. The load gets up to 6 on C2D CPU and the machine has unacceptable responsivness.

[root@f00 ~]# vmstat 5 10
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st

[code]....

View 4 Replies View Related

Fedora Installation :: Error - There Isn't Enough Free Space On The Disks To Create The Layout

Aug 14, 2009

I got a new computer (core i7, 6gb ram, 500gb hdd).I first installed Windows 7, because I remembered how Fedora 9 created a dual-boot screen nicely, while if I installed XP on a system with Fedora 9 it would just take over the boot and boot to XP.Anyway, so Windows 7 is installed, and I got the Fedora 11 DVD install.I partitioned the hdd as thus (on win7 installation): 93gb windows system, 300gb media partition, 90gb unformatted.When I boot the installation and select the "use free space" I get an error that there isn't enough free space on the disks to create the layout.I also tried to create a custom layout, but after a few errors I gave up on that what should I do to get Fedora 11 installed?

View 9 Replies View Related

OpenSUSE Install :: Installer Will Not Detect Hard Disks (SATA)?

Dec 19, 2009

Trying to install SUSE on a perfectly working PC that was running Windows. Blew away all the partitions and formated the drives.When trying to install SUSE, Installer will not detect my two hard disks. Tried with version 10.x, 11.1 and 11.2, without success.My Mobo is a XFX GeForce 8209, and my SATA drives are both Seagates (1x120GB, 1x320GB). I've tried different SATA mode selection (i.e. SATA, AHCI, and RAID) without any success either.I've tried to look for SATA controller drivers for my Mobo, to try to load on Installer startup, but failed there too.

View 1 Replies View Related

OpenSUSE Install :: 11.2 - Dell SAS / SATA Virtual Disks (RAID 1)

Sep 17, 2010

I have a Dell Studio XPS running openSUSE 11.2 with dual mirrored disks (using Dell's SATA controller). Does anyone know how I can set up automatic monitoring of the disks so that I will be informed if either fail? I think smartd might be what I need here. Is that correct? I added:
/dev/sda -a -d sat -m <my email>
/dev/sda -a -d sat -m <my email>

smartd is running, but how do I know that it will report what I need? I also have a client with a Dell PowderEdge SC440 with SAS 5/iR also running openSUSE 11.2. They also require automatic monitoring. There doesn't seem to be a SAS directive for smartd. I notice that the newer release says it does support SAS disk. I upgraded to 5.39. On restart (with DEVICESCAN as the directive) I get the following in /var/log/messages for my SAS RAID disk.

Sep 18 10:47:26 harmony-server smartd[25234]: Device: /dev/sdb, Bad IEC (SMART) mode page, err=4, skip device
I ran:
smartctl -a /dev/sdb
and got the result:
smartctl 5.39.1 2010-01-28 r3054 [x86_64-unknown-linux-gnu] (openSUSE RPM)
Copyright (C) 2002-10 by Bruce Allen, smartmontools

Device: Dell VIRTUAL DISK Version: 1028
Device type: disk
Local Time is: Sat Sep 18 11:32:08 2010 JST
Device does not support SMART
Error Counter logging not supported
Device does not support Self Test logging

Is there some other tool/package that does support DELL virtual disks?

View 2 Replies View Related

Ubuntu Servers :: Mount 4 Internal Sata Disks Using Hal On Installation?

Jan 20, 2010

i currently try to mount 4 internal sata disks using hal on a server installation?

i did

apt-get install hal and copied a .fdi script to /usr/share/hal/fdi/policy/10osvendor/30-storage-all.fdi

as far is i understand now i need a hal/dbus client
gnome-volumen-manager seems to be one
apt-get install gnome-volume-manager

now im stuck there is no such executable like gnome-volumen-manager thus, how does it work? how can i start it? how do i know if and why the .fdi script works or fails?

since its a server edition and its purpose should be a very minimized server install i dont want a GUI like gnome fully installed

View 1 Replies View Related

Hardware :: Two SATA Disks:counldn't Find Partitions In The Second Disk?

Sep 1, 2010

I have two SATA disks, 80G and 1T. Using "df" command we can see the all partitions:

/dev/sda3 6.7G 2.5G 3.9G 40% /
tmpfs 1.7G 0 1.7G 0% /lib/init/rw
udev 1.7G 220K 1.7G 1% /dev

[code]...

View 10 Replies View Related

General :: How Udev Rules Work To Create Device Files

Jun 2, 2010

how udev rules work to create device files. Following is what I did for that: Up on plugging in my phone (sony w800i), I am getting a device file 'devcdc-wdm0' created. I just tried to figure out the rule which is responsible for the creation of this particular file.

I searched in 'etcudev ules.d' and 'libudev ules.d' for the string 'cdc-wdm' to find that rule. But I am not getting any hits in that search. Could any one help me out in this one.

BTW: I am using Ubuntu 9

View 6 Replies View Related

Ubuntu :: Create An Udev Rule To Stop Card Reader From Being Initialized

Jan 24, 2010

I have a netbook (MSI Wind U100 rebrand) that has one of those card readers built into the handrest. The thing is I've never used it once, and it keeps popping up in powertop as waking the cpu when it should just shut up and be quiet.Aside from breaking open the case and tearing it out, the immediate solution is to browse to /sys/bus/usb/devices/usb1/1-6/ and pipe 1 to the file remove. That disables it until system reboot or resume, at which point I have to do it all over again.

Code:

$ echo 1 | sudo tee /sys/bus/usb/devices/usb1/1-6/remove

Now I'd like to create an udev rule to make it not get initialized at all. A quick Google search found me this article on creating udev rules, and after toying about with the udevadm tool I managed to produce the attributes/properties of the device.

Code:

zorael@lethe:/sys/bus/usb/devices/usb1/1-6$ udevadm info -a -p $(pwd)

Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed by the attributes of the device and the attributes from one single parent device.

looking at device '/bus/usb/devices/usb1/1-6':

KERNEL=="1-6"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}=="CARD READER

[code].....

View 2 Replies View Related

Hardware :: Can SATA 3 (SATA III) Hard Disk Be Run On Motherboard Which Only Support SATA II

Aug 13, 2010

Can SATA 3 (SATA III) Hard disk be run on motherboard which only supports SATA II, except sacrificing the speed (throughput)?

View 2 Replies View Related

Ubuntu :: Create Multi-boot Disks?

Feb 19, 2011

Let's say that I want Ubuntu, Kubuntu, Xubuntu, Lubuntu, Mythbuntu, Fedora and Julia on one single bootable DVD. How do I do that?

View 1 Replies View Related

Ubuntu :: SATA II / Error "ata4: Limiting SATA Link Speed To 1.5 Gbps" - Allowing The SSD To Run At SATA II Speeds?

May 1, 2011

I keep getting this error in my log viewer every 2 seconds: Code: ata4: limiting SATA link speed to 1.5 Gbps I have a dual boot SSD and I have run many SMART tests in windows and linux, (using smartmon tools and the disk utility) and the reports are all 100% healthy..... My research shows that this error represents one of the following:

1. Problem with SATA controller
2. Changing BIOS to allow SATA
3. Changing SATA mode to PATA or AHCI
4. Replacing the SATA cable
5. Allowing the SSD to run at SATA II speeds, i.e. 3 Gbps

- Does anyone know how to try number 5, i.e. allowing the SSD to run at SATA II speeds? I am lost here and this problem has caused my machine to crash twice when watching a movie in linux/ ubuntu. (It is worth noting that the crashes have only occurred in linux and I have never had an issue in windows, so it does seem to be a linux setting somewhere, hence why I think it is a "allowing SATA II to run at correct speeds issue")

View 4 Replies View Related

OpenSUSE Install :: 11.2 - Unable To Create RAID 5 Disks

Jun 25, 2010

I've got 3 extra disks on OpenSuse 11.2 - all the same size. I've created a partition on all of them as type 0xFD. If I then try and add raid in yast I get "There are not enough suitable unused devices to create a RAID."

View 9 Replies View Related

Slackware :: Create The Huge.s Kernel Files On The Disks?

Apr 12, 2010

how to create the huge.s kernel files on the slackware disks? or at least direct me to a post if there is the same question. I currently rsync my files to Alien BOB's script, and i use syslinux to install from my usb stick. i was wanting to install using a later kernel just for testing purposes. (i.e 2.6.34-rc3 as of this writing)

View 9 Replies View Related

Ubuntu Servers :: Create A New Mdadm RAID 5 Device /dev/md0 Across Three Disks?

Feb 5, 2011

I am trying to create a new mdadm RAID 5 device /dev/md0 across three disks where such an array previously existed, but whenever I do it never recovers properly and tells me that I have a faulty spare in my array. More-specific details below. I recently installed Ubuntu Server 10.10 on a new box with the intent of using it as a NAS sorta-thing. I have 3 HDDs (2 TB each) and was hoping to use most of the available disk space as a RAID5 mdadm device (which gives me a bit less than 4TB.)

I configured /dev/md0 during OS installation across three partitions on the three disks - /dev/sda5, /dev/sdb5 and /dev/sdc5, which are all identical sizes. The OS, swap partition etc. are all on /dev/sda. Everything worked fine, and I was able to format the device as ext4 and mount it. Good so far.

Then I thought I should simulate a failure before I started keeping important stuff on the RAID array - no point having RAID 5 if it doesn't provide some redundancy that I actually know how to use, right? So I unplugged one of my drives, booted up, and was able to mount the device in a degraded state; test data I had put on there was still fine. Great. My trouble began when I plugged the third drive back in and re-booted. I re-added the removed drive to /dev/md0 and recovery began; things would look something like this:

Code:
user@guybrush:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : active raid5 sdc5[3] sdb5[1] sda5[0]
3779096448 blocks level 5, 64k chunk, algorithm 2 [3/2] [UU_]

[Code]...

View 9 Replies View Related

Software :: Kernel Panic When Trying To Create Filesystem On SATA Drive?

Jan 7, 2010

I'm trying to install Linux on a system.

Seagate Barracuda 160.0G SATA drives x 2
Asus P5K-E WiFi motherboard
Intel ICH9R chipset
JMicron JMB363 PATA / SATA RAID controller

I've tried to install both Debian 5.0.3 and Gentoo 10.1 (Minimal).The Gentoo distro kernel is 2.6.31. I honestly didn't check to see what version the Debian distro is using. With both distributions, I get a kernel panic as soon as I try to create the filesystem. I can see the drives just fine, and can partition them. The problem doesn't happen until I try to create a filesystem. I've tried configuring my SATA drives in the BIOS as IDE and as RAID. kernel support for SATA drives is at least three years old, so I have to believe that SATA support has become ubiquitous, but obviously I'm missing something here.

View 4 Replies View Related

Hardware :: Create Boot CD For Booting External Disks On An Apple IMac?

Apr 2, 2010

Is it possible to create a boot CD to boot external volumes on an Apple iMac 7.1 (which has an older firmware version and cannot boot external disks, unlike the MacBook Pro 5.1 which can do it, at least with grub-legacy which is all I'll ever use until EFI boot becomes available). There is some promising stuff on www.pendrivelinux.com, and I'll try it, but the instructions are for Windows, and I am not sure how to translate the menu.lst entry to linux (I suppose it would have to be entered in the "automagic" section). Of course I don't want to create a bootable flash drive but to use my external volumes that already boot on the MacBook Pro without altering them, except for installing the ATI video driver (but I have no problem booting in low graphics mode).

Until karmic there was a trick to make the iMac mistake the external volume for an internal one (the root partition had to have the same UUID as the internal root partition), but this does not seem to work for lucid. Anyway this UUID trick is dirty and causes problems when you want to edit the internal partition (which is the point of the external boot - you get a customized maintenance environment that boots much faster than the CD).

View 1 Replies View Related

Hardware :: Create Extra Partition On SATA Disk Without Reinstalling RHEL5

Jan 12, 2011

I have Three disks installed, one SATA and two SCSI disks.

SCSI1: boot + RHEL3
SCSI2: home
SATA: RHEL5

I want to create an extra partition on the SATA disk without re-installing RHEL5. Is this possible?

View 7 Replies View Related

Ubuntu :: Can't Create File /etc/udev/rules.d/70-android.rules?

Jun 19, 2011

I need to create filename 70-android.rules in the directory /etc/udev/rules.d/I have Adm privileges in my user account properties, but when I use sudo to create this file the Ubuntu OS does not allow me the privilege... I am running Ubuntu 10.04 LTS and here's the Terminal output below:daddy@gatomon-laptop:/etc/udev/rules.d$ sudo cat > 70-android.rulesbash: 70-android.rules: Permission denieddaddy@gatomon-laptop:/etc/udev$ ls -ltotal 8drwxr-xr-x 2 root root 4096 2011-03-16 18:03 rules.d-rw-r--r-- 1 root root 218 2010-04-19 04:30 udev.conf

View 2 Replies View Related

Ubuntu :: SATA Libata Verses Silicom Images SATA Module

Jun 21, 2010

I installed Ubuntu 10.04, and happened to have an Silicom Images PCXpress card plugged in, and it kindly added the sil_sata module.This is fine for this chip set.I think that my earlier installation of Ubuntu 9.04 used Libata, which does support NCQ and also has good legacy support for the Intel Intel ICH7 chipset I have inside my Sony Vaio SZ notebook. Also, libata also support Silicon Image chipsets as far as I can tell from URL...I wish to remove the Silicom Images SATA modules and replace this with libata and then test the performance between the two device drivers.

View 5 Replies View Related







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