Udev and SCSI partitions not mounted

I have just attempted to convert devfs to udev on my dual AMD Opteron with two SCSI drives running fully up-to-date Arch Linux.  The result of following the standard udev procedure (which has worked on three other IDE machines without a hitch) was that of the four mountable SCSI disk partititions, only swap and / were mounted properly
/dev/discs/disc0/part1 / reiserfs defaults 0 0
dev/discs/disc0/part2 swap swap defaults 0 0
while the /home and /data partitions were not recognized and mounted:
/dev/discs/disc0/part3 /home reiserfs defaults 0 0
/dev/discs/disc1/part1 /data reiserfs defaults 0 0
I was able to revert the machine back to its original devfs so the machine does work properly in its original configuration.
I noticed a bash script in the /etc/udev directory that seemed to be used to identify the SCSI devices present. Is it possible that this is not working correctly?  Does anyone have any idea of how the SCSI configuration could have gone awry?
Thanks.
Some details about the machine:
arch version: Arch Linux 0.7 (Wombat)
kernel version: 2.6.7
two processors: AMD Athlon(tm) MP 2600+
two SCSI_storage_controllers: Adaptec AIC-7899P U160/m (rev 1).

Once again, I installed archlinux on an scsi machine, and have been cought in the boot-scsi-device-fails-udev-trap. This time, I had a bit of time. Instead of editing the fstab entries, I decided to find out why ide devices are handled well, and scsi devices are not.
Have a look at udev.rules. You will find an entry for ide block deviced there, that creates devfs symlinks:
# ide block devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
You will notice also there are no similar entries for scsi block devices. Therefore, their nodes will not fit devfs scheme. Now, let's have a look at /etc/udev/. You will find scsi-devfs.sh there. This script will create devfs-like nodes for scsi blocks. Now the problem is clear, isn't it. Add the following lines to udev.rules:
# scsi block devices
BUS="scsi", KERNEL="sd*", PROGRAM="/etc/udev/scsi-devfs.sh sd %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
BUS="scsi", KERNEL="sr*", PROGRAM="/etc/udev/scsi-devfs.sh sr %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
BUS="scsi", KERNEL="st*", PROGRAM="/etc/udev/scsi-devfs.sh st %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
BUS="scsi", KERNEL="sg*", PROGRAM="/etc/udev/scsi-devfs.sh sg %b %n", NAME="%c{1}", SYMLINK="%c{2} %k %c{3} %c{4}"
Now the devfs naming scheme should be used for scsi devices, too. Surprisingly, it isn't. Any hints are welcome.

Similar Messages

  • Mount: Label oracrsfiles occurs on both /dev/sdc and /dev/sdd1 not mounted

    Dear All,
    I think i have run the following command on both nodes:
    # mount -t ocfs2 -o datavolume,nointr -L "oracrsfiles" /u02/oradata/orcl
    and now when i mount linux1 where i am performing all the major steps to configure RAC it gives the following error.
    mount: label oracrsfiles occurs on both /dev/sdc and dev/sdd1 not mounted.
    I want to rever everything and start the mount procedure again.
    Please help me, my OS is oracle enterpise linux and oracle is 10gR2.
    Regards,
    Imran

    kindly help on this.
    Regards, Imran

  • Partitions not mounting after Archive and Install

    I have just installed 10.4 after putting it off for ages. My machine is G4DA with 1.5ghz processor upgrade and a Sonnet ATA133 card for hooking up my 180gb Seagate 7200.7 HD.
    I had the HD partitioned into three equal 60gb partitions. One for system, users and apps, one for my video stuff and one for my audio stuff.
    The install went fine (Archive and Install option) onto the System partition. However after restarting, only the System partition is mounted. Disk Utility recognises the other two partitions (they have the generic document icon next to them rather than the little HD icon). When I run the repair it tells me there is nothing wrong with either partition.
    Disk Warrior also sees the partitions and also repairs them fine without any errors. Even the VISE installer for some of my software installs lists the partitions as available to install on but neither mount.
    I have been able to recover the data from the partitions using Data Rescue. Just wanted to know whether there was any way of getting the partitions to mount via the command line or otherwise before I resort to reformatting the drive.

    The Terminal.app command diskutil will do that. Launch it and type
    man diskutil, hit the return key, and read all about it.

  • Hard Drive and Disk Image not mounting

    Hey everyone,
    I'm running a G5 Dual 2Ghz. with OSX 10.5.8 I'm having problems with a back up hard drive. It is an external Western Digital My Book 1.5TB SATA drive. After using it for a few months, it suddenly did not mount anymore.
    *1) It also would not appear in Disk Utility.*
    a) Disk Warrior couldn't find the drive (I think because it's formatted with FAT32)
    *2) I then took the drive out of the enclosure and put it in the spare bay in the G5.*
    a) It didn't mount
    b) It did show up in Disk Utility
    c) In Disk Utility it wouldn't give me the option to Repair Disk Permissions or Repair Disk
    d) In Disk Utility is says under Partition Scheme: Unformatted
    e) In Disk Utility I don't have the option to mount/eject only gives me the "info" option
    f) Tech Tool did find the drive and it passed all tests
    g) Disk Warrior still did not find the drive
    h) TestDisk finds the drive, but does not find any partitions
    *3) I then created a disk image of the drive in Disk Utility onto an external hard drive. The image comes back at 320GB, which seems to be about right I think.*
    a) The disk image would not mount with Disk Image Mounter. It would say there is an Unrecognized File System
    b) In Disk Utility - I don't have the option to Repair Disk Permissions
    c) In Disk Utility - When trying to Repair Disk - I get the error: Repairing Disk failed with error Unrecognized FileSystem
    d) In Disk Utility - If I click Open - The Log file says:
    +Attach Image+
    Initializing...
    Verifying...
    Finishing...
    +Image of "disk0.dmg" attached successfully+
    +Mount of "disk0.dmg" succeeded+
    -But it is no where to be found
    e) Disk Warrior can not find the Disk Image
    f) I took the new external drive with the Disk Image to 3 other mac computers but the image would not mount
    *4. Other things I've tried when opening the Disk Image for the new external drive.*
    a) in Terminal - hdiutil attach -nomount "volumes/untitled/disk0.dmg"
    b) in Terminal - sudo hdiutil attach -nomount "volumes/untitled/disk0.dmg"
    c) Deleting files System/Library/Extensions.kextcache
    System/Library/Caches/com.apple.kernalcaches
    ALL UNSUCCESSFUL
    I'm running very low on ideas. I know I could just erase the drive and reformat it, but the files on it are very important and must be recovered.
    Any help or suggestions would be very helpful. I will not have time until after the weekend to try more things. Thanks in advance if you do not hear back from me until after this weekend.

    Yes, it will. But if DU says the disk is unformatted then it is also not accessible. If you have files you don't wish to lose then you will need to try recovery software:
    Basics of File Recovery
    General File Recovery
    If you stop using the drive it's possible to recover deleted files that have not been overwritten by using recovery software such as Data Rescue II, File Salvage or TechTool Pro. Each of the preceding come on bootable CDs to enable usage without risk of writing more data to the hard drive.
    The longer the hard drive remains in use and data are written to it, the greater the risk your deleted files will be overwritten.
    Also visit The XLab FAQs and read the FAQ on Data Recovery.

  • Z400 Discs with EFI partition not mounting after Win 7 Pro upgrade

    HP z400: After a repair/upgrade of Win 7 Pro (64) sp1, any external disc with an EFI partition will not mount.  Drive will be present in BIOS and Disc Management, though without a letter. Unable to assign a drive letter.  All other discs mount correctly.  Drives with EFI partition will mount on other PCs.  All drivers appear to be current and fuctional. 
    This question was solved.
    View Solution.

    I figured it out... after two weeks of head-scratching, I finally found the cause. 
    I run MacDrive 8 so i can read discs with HFS+ formatting.  That program needed to be fully uninstalled and re-installed after the upgrade.  I had de-activated it prior to the upgrade, but it needed more than that.  Everything works now as expected.
    But wouldn't it be ince if Windows would read mac discs natively?

  • Drive partition not mounting

    I had a 400 Gb harddrive which I partitioned in Tiger. Was working fine.
    Now, in Leopard (after loads of KP's on starting up - see my other post), the first partition (100 Gb) is showing correctly as "backups". The other partition, previously called "Emergency OS" is now showing as "disk 1s5" in the Leopard disk utility and as "not mounted". Any ideas how to get it mounted, maybe in Terminal??
    Thank you

    Had to forget about it, was somehow corrupted. did a complete erase.

  • OS X: Windows 7 partition not mounted

    Hi everyone,
    I had previously dual booted my macbook with OS X and WinXP, i was able to view the WinXP partition through OS X on my desktop. I got my hands on Windows 7(Final Release) and now my macbook is dual booting OS X and Win7.
    I cannot figure out why the Win7 partition is not mounting in OS X. I have research some possibilities as to why and how to mount it but nothing has worked.
    I have tried to mount it using DISK UTILITY but I keep getting an error. I also tried using some command lines through TERMINAL but that did not work either.
    If someone could please help me with understanding why I am not able to mount the Win7 partition in OS X, that would be very helpful.
    Thank you for your time and support in advance,
    LJ

    Boot Camp forum is here:
    http://discussions.apple.com/category.jspa?categoryID=237

  • Why is an NTFS partition not mounting on Powerbook & how to get it to

    I have a new external portable (bus powered) Maxtor Mini III drive that is formatted NTFS for Windows, My powerbook 1.5gHz cannot mount it. Disk utility recognizes the drive by name, but shows no volume and the erase tab is all gray. It mounts read and writes on an older PC running windows XT (at a friends). It also mounts to desktop on an older iMac, (I think that is the model apple) It belongs to a school and I have no administrator access to run disk utility on it nor play with it otherwise.
    Therefore I conclude that a 1 year powerbook no longer has the capacity to mount what an older iMac is mounting.
    What's that all about?
    My goal is to be able to reformat this drive with my powerbook.
    How can I do that?
    I expect that if I use disk management utility on a PC and delete the partition, it will then be format-able on my powerbook. Expecting that then, when inserted the OS 10.4 will say the drive is not recognized and ask if I want to format it.
    Perhaps what I need is some sort of generic universal NTSF USB "driver" for my mac such that I can recognize the NTSF partition and then delete it on the powerbook.
    Any such thing? or what?
    Thanks,

    I was wrong, it is not NTFS. According to a 700 mHz eMac running 10.3.9, it is Format: Mac OS Extended (Journaled). And it mounts the desktop on the eMac as well as reading and writing. I can copy files to it and remove them on the eMac.
    My powerbook 1.5 gHz on the other hand, still not mounting.
    Given this error I will repost this problem under a new subject.
    Why would a drive mount an eMac desktop but not a Powerbook?

  • External Hard drive and dmg files not mounting

    External Hard drive and dmg files suddenly not mounting. Im running Mavericks on 27" iMac. Anyone have a fix or has anyone else suddenly had this problem? There was a Mavericks update a few weeks ago, but things were fine until today. This is weird. Ive checked in disk utility and can see one of my two external HD's, the one that I back up. But not even this will mount. Ive tried repairing HD thinking it was damaged but now see that all my ext hd's suddenly dont mount. Ive tried several mac restarts.

    Solved the problem. My external HD is a WD (My Book Studio). I needed to install updated driver manager and this fixed it:
    http://support.wd.com/product/download.asp?groupid=114&sid=62&lang=en
    If you have a WD external HD goto the above link and search for your model and a list of updates will be shown, Yay!!

  • IMac running slow and windows partition not showing

    I have an iMac 12.1, 2.5 ghz, i5, 4 gb ram,  500 gb hd (41 gb used) running 10.7.4.  We installed windows parallel and windows 7 about three months ago. We rarely used windows and now windows doesn't work, although the icons are there. I tried to uninstall via boot camp and the partition does not show. The iMac is now running extremely slow except when running in safe mode.
    How can I delete or reinstall windows and speed up the iMac? 
    Thank you

    Open Console in Utilities & see if there are any clues or repeating messages when you try to launch Parrallels Desktop.
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partitiion & use Disk Utility from there to Repair the Disk, then Permissions.

  • Logical Volume Group and Logical Partition not matching up in free space

    I was dual booting Windows 7 and Mountain Lion. Through Disk Utility, I removed the Windows 7 Partition and expanded the HFS+ partition to encompass the entire hard drive. However, the Logical Volume Group does not think that I have that extra free space. The main problem is that I cannot resize my partition. I am wanting to dual boot Ubuntu with this. Any ideas? Any help is appreciated. I will post some screenshots with the details. Furthermore, here are some terminal commands I ran: /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *250.1 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_CoreStorage 249.2 GB disk0s2
    3: Apple_Boot Recovery HD 650.0 MB disk0s3
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Apple_HFS MAC OS X *248.9 GB disk1 Filesystem 1024-blocks Used Available Capacity iused ifree %iused Mounted on
    /dev/disk1 243031288 153028624 89746664 64% 38321154 22436666 63% /
    devfs 189 189 0 100% 655 0 100% /dev
    map -hosts 0 0 0 100% 0 0 100% /net
    map auto_home 0 0 0 100% 0 0 100% /home CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group 52A4D825-B134-4C33-AC8B-39A02BA30522
    =========================================================
    Name: MAC OS X
    Size: 249199587328 B (249.2 GB)
    Free Space: 16777216 B (16.8 MB)
    |
    +-< Physical Volume 6D7A0A36-1D86-4A30-8EB5-755D375369D9
    | ----------------------------------------------------
    | Index: 0
    | Disk: disk0s2
    | Status: Online
    | Size: 249199587328 B (249.2 GB)
    |
    +-> Logical Volume Family FDC4568F-4E25-46AB-885A-CBA6287309B6
    Encryption Status: Unlocked
    Encryption Type: None
    Conversion Status: Converting
    Conversion Direction: backward
    Has Encrypted Extents: Yes
    Fully Secure: No
    Passphrase Required: No
    |
    +-> Logical Volume BB2662B7-58F3-401C-B889-F264D79E68B4
    Disk: disk1
    Status: Online
    Size (Total): 248864038912 B (248.9 GB)
    Size (Converted): 130367356928 B (130.4 GB)
    Revertible: Yes (unlock and decryption required)
    LV Name: MAC OS X
    Volume Name: MAC OS X
    Content Hint: Apple_HFS

    Here is another try via the command line:
    dhcp-10-201-238-248:~ KyleWLawrence$ diskutil coreStorage resizeVolume BB2662B7-58F3-401C-B889-F264D79E68B4 210g
    Started CoreStorage operation
    Checking file system
    Performing live verification
    Checking Journaled HFS Plus volume
    Checking extents overflow file
    Checking catalog file
    Incorrect block count for file 2012.12.11.asl
    (It should be 390 instead of 195)
    Checking multi-linked files
    Checking catalog hierarchy
    Checking extended attributes file
    Checking volume bitmap
    Checking volume information
    Invalid volume free block count
    (It should be 21713521 instead of 21713716)
    The volume MAC OS X was found corrupt and needs to be repaired
    Error: -69845: File system verify or repair failed

  • External USB drive partition not mounting after upgrade to 10.6.6

    Hello,
    I have a Mac Mini and have an external HDD (Seagate GoFlex Desk) setup with two partitions with "Mac OS Extended (Journaled)" format. After the recent OS upgrade, only one partition mounts. I have tried to verify/repair from DiskUtility and it shows all green over there. It just fails to mount. Any help would be appreciated.
    Thanks

    Hi,
    I have the same symptoms : external HD with 2 partitions. Only one mounts.
    I can mount the other one in disk utility and access files in terminal. But the partition doesn't show in Finder or any apps.
    I've tried to disable journal and enable it again but nothing changes.
    Only message I get in the console is when I eject the disk using disk utility :
    2/20/11 7:20:15 PM kernel hfs: disabling journaling for mount @ 0xac60520
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 97
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 93
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 92
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 91
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 89
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 96
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 90
    2/20/11 7:20:35 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 95
    2/20/11 7:21:04 PM kernel mdworker (map: 0x8cea99c) triggered DYLD shared region unnest for map: 0x8cea99c, region 0x7fff87000000->0x7fff87200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
    2/20/11 7:21:37 PM kernel hfs: Initializing the journal (joffset 0x1f82e02 sz 0x2000000)...
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 115
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 111
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 110
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 109
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 107
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 114
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 108
    2/20/11 7:21:55 PM com.apple.notifyd[12] EV_DELETE failed for file watcher 113
    2/20/11 7:22:09 PM kernel mdworker (map: 0xbdb13d8) triggered DYLD shared region unnest for map: 0xbdb13d8, region 0x7fff87000000->0x7fff87200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.

  • [SOLVED] Partitions not mounted on boot / boots to (none)

    I have strange problem after I ran pacman -Syu today. After reboot I can't login and it doesn't show hostname in login window, I do get kdm login screen.
    If I select console login or change to tty1 then I can login as root, without any password asked.
    After that I am able to mount partitions just fine, and I am also able to chroot in and update the system, didn't help. I also tried downgrading kernel to 3.5.6.1, with no change in behaviour.
    I don't have /usr on different partition but decided to try adding usr and shutdown to mkinitcpio hooks anyway, again no improvement.
    Recent update only brought shadow.pacnew, which I merged. I do pacnew merges after each update.
    Any pointers on where to go next?
    Thanks in advance.
    Last edited by thepanu (2012-11-01 20:21:41)

    You need to understand what you are actually doing when you overwrite old files with new ones.  When there is a recommendation to "merge" your pacnew files, that doesn't mean just go ahead and use the new ones.  It means you should take the time to see what is in them, see where they differ, and then make an educated decsion on what to do with them from there.
    If this is how you have always been handling pacnew files, don't expect that the prolem is totally solved.  I would not be suprised if this one sneaks up and bites you in the ass.

  • Backup disk and Disk Images not mounting

    *Intial Disk Utility problem:* Recently my trusty 6 year old PowerBook G4 died from hard-drive failure, with most of my data backed up on external drives. Before migrating data over to my new iMac, I performed "First Aid" in "Disk Utility" on the external backup drive. One of the drives (500GB iomega drive) that backed up my PowerBook and my PC had 5 partitions (4 were FAT32, and 1 was NTFS), somehow got erased in Disk Utility. Even though I was just verifying one of the partitions the whole drive was cleared and renamed: disk2s4 (28kb) and disk2s10 (372.5GB). This didn't take much time, so I knew all the data hadn't been cleared, and checked the Security Options for Erase, and its set to "Don't Erase Data."
    *Disk Warrior attempt:* At this point, having a sorta wrecked backup drive that still apparently had data, I bought Disk Warrior and gave that a try. It read the drive the first time, but couldn't recover any of the directory information. Hoping to not overwrite anything, at that point, I didn't proceed with the "rebuild" option. Now when I try Disk Warrior, it just says:
    Directory Cannot be rebuilt due to disk hardware failure (-50,447)
    - This disk appears to be a MacOS standard sik
    - This disk does not appear on the desktop
    - This disk is 372.49 GB in size
    - Disk ID: disk2s10
    - File system: HFS (standard) +even though most of the drives had been fat32+
    Now Disk Warrior doesn't even give the option to scan the drive.
    *Disk Imaging attempt:* Disk Warrior is claiming a hardware problem (which isn't really the case), so I tried making a disk image in Disk Utility of both disk2s10 and disk2s4. I tried opening disk2s10.dmg in Finder and in Disk Utility, and get the message: "No mountable file systems." In the past when confronted with unmountable disk images, I've used VLC media player. So, I pull up VLC read disk2s10.dmg and music starts playing!!! At first I freak out, then I realize that its the first song listed in my iTunes library -- the data is there, can be retrieved, but I'm not sure how to get it!
    *Next attempts:* the only other thing I can think of is to try daemon tools or something on my PC, or bring the drives into the the school IT guys.
    Please let me know what you think would work that I haven't already tried. Though I have redundancy in the backups, I haven't been able to recover some data for my PhD thesis due in a month, and therefore haven't given up on reviving this disk yet.

    I've downloaded the DataRescue and FileSalvage trials, and am currently scanning with DataRescue which will take another few hours. Thanks for those recommendations, its so useful to have a trial scan before buying.
    *General Question:* I noticed through these various attempts that reformatting extra drives in the current version of Disk Utility has become a little more dangerous than before. For example, I was reformatting a spare disk from FAT32 to HFS+ and the drive became unmountable. This never happened to me in earlier versions of OSX, and now it seems to happen every time, and partly why my partitions got all screwy. Any thoughts?

  • Air and Samsung NV10: not mounting.

    I'm having the same problem as this guy
    http://discussions.apple.com/thread.jspa?threadID=1513075&tstart=91
    In the system profiler, I can see that the camera has connected, but it's not being mounted, nor is it showing up in the finder.
    System profiler info as follows.
    USB Device:
    Version: 1.00
    Bus Power (mA): 500
    Speed: Up to 480 Mb/sec
    Manufacturer: SAMSUNG
    Product ID: 0x1043
    Serial Number: 0000000104C52004
    Vendor ID: 0x0839
    Samsung have replied to a few support requests, but haven't got an answer, and it seems this issue is restricted to the 'air.
    Anyone got any ideas? Any way to manually mount this camera, even just as a mass storage device?
    tia
    a

    I'm having the same issue with my Canon DSLR's with the Canon software they provide, however the camera hooks up fine using Aperture.
    This sounds like a Samsung Software issue to me

Maybe you are looking for