Accessing USB hard disks

Hello
I attached a USB hard disk to a workstation with Solaris 9/Sparc. The hard disk does not have a slice table but an x86 partition table so I just want to access the disk using /dev/rdsk/c?t?d?s2 (whole disk) or any equivalent method.
/var/adm/messages shows the following messages:
USB-device: storage@3, usba10_scsa2usb1 at bus address 4
IOI USB2.0 Storage Device 0000058918D0
usba10_scsa2usb1 is /pci@8,700000/usb@5,3/storage@3
/pci@8,700000/usb@5,3/storage@3 (usba10_scsa2usb1) online
sd39 at usba10_scsa2usb1: target 0 lun 0
sd39 is /pci@8,700000/usb@5,3/storage@3/disk@0,0
/pci@8,700000/usb@5,3/storage@3/disk@0,0 (sd39) onlineHowever a device named "/pci@8,700000/usb@5,3/storage@3/disk@0,0" does not exist, only devices named "/pci@8,700000/usb@5,3/storage@3/disk@0,0:[a..h][,raw]".
None of these devices really exist (I get "No such device or address" if I want to access the device).
How can I access a USB hard drive using Solaris?
Martin

Looking at the sources of "OpenSolaris" I found out that opening hard disks without a valid partition table is possible specifying the O_NDELAY flag. This works on Solaris 9, too.
However I found out that my USB hard disk has a hardware problem (does not work with Windows XP) so I cannot test if reading the hard disk works.
Martin

Similar Messages

  • Cannot Access USB Hard Disk

    I have a USB hub connected to my airport with a printer and USB hard disk attached. I can see in manual setup in AirPort utility that both the printer and the hard disk are set up and connected. The printer prints wirelessly.
    My problem is that I cannot find the hard disk on my computer in order to take and put in files. Where is the hard disk located???

    In the Airport Utility /Disks/File Sharing make sure 'Enable file sharing' is checked. Select your choice for access (Secure Shared Disks).
    Airport Disk Utility: I have enabled 'Automatically discover AirPort Disks' as well as 'Show Airport Disks in the menu bar'. My action for the Airport is 'Connect with Password'.
    More often than not every disk I add to the hub (which is attached to the base station), shows up immediately. When it doesn't, I simply use the menu bar icon, click on the airport name and click 'OK' once the disk availability box appears. My oresent setup is to remember the password in my keychain.
    Note: since updating the firmware as well as Airport application, I have had no issues with hard drive access or, in particular, printer access.

  • Accessing USB Hard disk from internet

    HI all....
    I am ready to buy an iMac 24" tonight and I just wanted to ask a question about a new setup that I have in mind;
    since I have only 25GB free on my Macbook, I have no way to have all my music on the HDD, so I would like to be able to stream music from my house to my macbook, by having an external library as my iTunes Library, and connecting to it from my work.
    I would have to buy the Airport Extreme Base Station as well, since it is the only Router that has a USB port that I could attach the HDD to.
    Is this feasible?
    Thank you.
    Emanuele

    Hey
    What you're talking about would not be posible only using an airport extreme because it is set not to share your drive over the internet as this would be a crazy security issue (within seconds script kiddies would be bombarding it with requests to try and hack it.) However, what you want to do is definitely possible, but will require having two computers - your macbook at work, and one at home to log into and host the share. Once you have a second computer, there are literally hundreds of ways to do this, from streaming music over the web in a web browser, to ssh tunelling in to your home maching to get all of your files and music. Here are some options:
    Streaming through a web browser:
    1.Try MyTunesRSS (not good if you have a big music collection > 10000 songs) http://www.codewave.de/products/mytunesrss/
    Streaming through iTunes native music streaming via SSH:
    1. Full tutorial at http://www.sevitz.com/2005/03/howto_share_your_music_via_itunes_on_thenet
    Access to all files on your mac through SSH, see my comment here:
    http://discussions.apple.com/message.jspa?messageID=5778143#5778143
    If you want to use a cheap PC as the home machine to serve the files, there are a number of free Linux based OS's and tutorials online for doing this. Spend some time in google but don't attempt unless you're happy mucking about in the command line.
    Hope that helps,
    Greg

  • Airport extreme will not boot with USB hard disk plugged in.

    Hi there,
    I'm using the Airport Extreme Base Station, and I find that if I have a USB hard disk plugged into it, it will not boot up, it only hang-ups with an amber light, and stays there indefinitely.  It's not a terrible issue because it can be overcome by unplugging the disk then rebooting, but it's irritating, especially when I'm not home and there is a power temporary outage and my wife can no longer access the internet or I can no longer access my disks over the internet.
    Is there a solution to this problem?
    Thanks,
    Marc

    I'm going to have to replace the unit, as I'm unable to turn off DHCP services, which is wreaking havoc on my server based environment.
    Considering THIS issue *AND* the major DHCP show stopper, frankly, I'm debating etiher the fire pit or tossing the damned thing into the intersection and watching it be reduced to the trash that it is.
    Either way, there'll be 7 feet of pack ice in **** before I buy another Apple networking product.
    I'll decide later, with a jaundiced eye, regarding our XServe unit. Might reformat it to Linux...

  • Cannot see my shared USB hard disk's connected on my Mac-mini on my Macbook

    As you all can see, I'm a Mac user since 1989, i've don't like working on a windows-computer.
    But i've got a problem since I'm using Mac os X 10.5. If i try to make a connection with my Macbook pro to my Mac-mini (my Mac-mini has two USB hard disks) i cannot select the USB hard disks. But my WIDOWS computer has no problem to approche these disks???? Can anyone help me????

    Hi WillemH777-NL and welcome to the discussion forums.
    On the MacMini open system preferences-->sharing
    then select 'File Sharing' from the Service column. Then under Shared Folders make sure your 2 usb drives are listed, if not click the + sign and add them.
    then click the 'options' button
    make sure Share files and folders using AFP is checked
    make sure Share file and folders using SMB is checked
    Then switch on the names of the users and the mac can use the smb service.
    then click Done
    Now see if you can access the mini's sharepoints.

  • WRT610N New Firmware Upgrade and USB Hard disk not working

    Hi, I've just upgraded the new firmware, everything seems fine but now my USB Hard disk is not recognizable unless i restart the router. I have a Seagate FreeAgent 500Gigs, and it worked perfectly with the previous firmware. Just wondering if its just me or anyone else has the same problem. 
    Thanks 
    I forgot to add that afterawhile the hard disk isnt recognizable again and i have to reset it to get it working 
    Message Edited by jellydish on 02-13-2009 06:09 AM

    The same thing is happening to me... After the HDD goes to sleep, when you goto access it again you can hear it spin up but you still can't access it at all.

  • Sharing and Securing USB Hard Disks on Your Network

    Hello,
    For the past year, I had a network created with my Airport Extreme giving me access to a USB Hard Disk. The whole thing was working great until last week. From then, even if I had access to web through my Airport, my network wasn't available anymore. All my settings in the Airport base station are as they where before the bug. My USB disk (LaCie 500g) is fine and running as normal. I have unconnected my base station and USB disk and reconnected them, but still, the computer doesn't give me access to my network and by the same occasion, I don't have access to my external disk.
    I need a hand on this problem.
    Thanks

    No problem with Sharepoints...
    http://www.hornware.com/sharepoints/

  • Can connect to USB Hard Disk via OS X 10.5, but not 10.5?

    I'm able to connect to my USB Hard Disk in OS X 10.5 by simply going to "SHARED" in the Finder, but I don't see it anywhere in OS X 10.4. My 10.5 computer is connected to the AirPort Extreme via wireless, my 10.4 computer (it's actually OS X Server 10.4.11 ) is connected via a LAN port.
    If I go to the Finder and select "Network" I just see "Servers" which shows the 10.4 system I'm on. I don't see anything about the AirPort Extreme or USB Hard Disk connected to it.
    Any ideas on how I can see the USB Hard Disk on OS X Server 10.4.11 connected to the AirPort Extreme via a LAN port?
    Thanks!

    You should be able to connect to the disk via SMB from your 10.4 computer. Do you know the IP of the airport express base station? If so, use the Go menu from the Finder of the 10.4 machine and use *Connect to Server*. Enter the Server Address as smb://basestation.ip.address.here and click connect. It should present you with a login box and then mount your shares when you provide the correct credentials.
    On my airport extreme base station I have File Sharing enabled with base station password, guest access NOT allowed. My credentials are my account username (probably doesn't matter what name you put) and the base station password. It mounts the shared disk perfectly.
    Under 10.5, this method (for me anyway) has been MUCH more reliable than using the Airdisk feature. I disabled Airdisk on the client and now I always mount the share using SMB this way. It seems snappier and the problem where I used to get a drive mounted but then be unable to see anything on it has gone away.
    If you want it to automount each login (I know this method works on 10.5, can't remember about 10.4) use the *Connect to Server* dialog and enter the Server Address then click the + sign to add the server to your Favorites (the box under the Server Address line.) Then go to your Library folder in your Home directory. You will see the link you put in Favorites stored there as a file. Drag that file into the Login Items list in your user account in the Accounts pane in the System preferences. To see the connection on your desktop you need to make sure you have your Finder Preferences set to show *Connected Servers* on your Desktop. Click on the Finder menu (when you have Finder selected), then Preferences.

  • How to share Windows 7 Internet connection AND Extreme USB hard disk?

    Hi All,
    I'm trying to share the mobile broadband Internet connection on a Windows 7 PC as well as the USB hard disk connected to the Airport Extreme (2nd Gen) with other WiFi devices. The problem is that I can get either the one to work or the other, but not both.
    When I configure the Airport Extreme for DHCP+NAT, all machines on the Airport network can see each other, share files, etc. When I enable Internet Connection Sharing on the Windows 7 machine, the only way I've gotten that to work is to set the Airport Extreme to bridge mode, but then file sharing of the Airport Extreme's disk no longer works.
    Device info: Internet-connected Dell Latitude E5420 Windows 7 Professional 32-bit, Airport Extreme 802.11n (2nd Gen), Windows XP Home Edition + Nokia N8 + etc. WiFi devices.
    I've read all the manuals I could find and searched these forums but haven't been able to figure out a solution. I'm really getting desperate and will really appreciate any and all suggestions!
    Many thanks,
    Francois

    I've found a solution that works with my existing equipment. It's now possible to share the Windows 7 machine's Internet connection at the same time as the AirPort's drive. An additional challenge was to avoid having to manually reconfigure every WiFi client, but it turned out that's also possible.
    For the sake of posterity, here's the guide! :-)
    Background
    My setup is based on an AirPort Extreme access point WiFi network. The AirPort shares a hard drive, and a number of Windows clients connect to the network. One of these, a Windows 7 machine, has a USB mobile broadband dongle which I also wanted to share with the network.
    Previously I got this to work, but whatever configuration I came up with required manual reconfiguration of each network client, one way or the other. This was not ideal. Also, Internet Connection Sharing (ICS) defaults to IP address .1, the same one to which the AirPort defaults. This needed manual reconfiguration of the ICS host each time ICS was turned on.
    Solution
    THIS SOLUTION REQUIRES THE AIRPORT TO BE IN EITHER DHCP + NAT OR DHCP MODE. IF FOR SOME REASON YOU DEPEND ON THE AIRPORT BEING IN BRIDGE MODE, UNFORTUNATELY THIS SOLUTION WILL NOT WORK FOR YOU.
    1. Do the AirPort's non-Internet configuration
    On the AirPort Utility main screen, click the AirPort button, work through all the tab sheets and configure the items as you require. Do the same for the Printers, Disks and Advanced buttons. Once that's complete, we can do the Internet configuration.
    2. Set the AirPort to DHCP & NAT
    This is needed so you can choose the AirPort network address in the next step (but you can still set a different Connection Sharing mode later on, see step 7). For now, set Connection Sharing to Share a public IP address:
    3. Set the AirPort to the same network address as ICS
    Set the AirPort to the network address used by ICS, namely 192.168.137.xyz. Note that the AirPort does not allow a beginning address below 2:
    4. Obtain the AirPort's MAC addresses
    These will be used in the next step. Record both the Airport ID as well as the Ethernet ID:
    5. Fix the AirPort IP addresses to prevent clashing with ICS
    The AirPort will default to the same IP address as ICS, namely 192.168.137.1. To prevent this, assign different addresses to the AirPort with DHCP reservations. Underneath DHCP Reservations, click the '+' and create reservations for each of the AirPort and Ethernet interfaces. You can use other values, but to be consistent with the rest of this guide use 192.168.137.253 for the AirPort interface and 192.168.137.254 for the Ethernet inteface:
    6. Distribute ICS configuration data with AirPort DHCP
    Yes, you read right! This is where the magic happens. To avoid having to manually configure each WiFi client for the additional ICS network, that configuration data is included with the AirPort DHCP configuration. Assuming you've stuck to the numbers above, configure the TCP/IP screen exactly as shown. .254 is the AirPort router (and also its Ethernet interface) address, and .1 is the IP address that Windows configures for the ICS interface:
    7. Set AirPort Connection Sharing
    If your AirPort is sharing a connection on its WAN port, choose Share a public IP address, otherwise choose Distribute a range of IP address. In the latter case the NAT tab disappears:
    8. Save your AirPort's configuration
    Your AirPort configuration is now complete and you can push the Update button. Once your AirPort has rebooted, its network will be fully operational.
    9. Ensure your Internet sharing port is correctly configured
    ICS involves two network ports on the sharing computer - the shared Internet-connected port, and the sharing port connected to your local network. When you enable ICS on the shared port, Windows will temporarily configure the sharing port's settings to fit in with the scheme above (it will get the fixed IP address 192.168.137.1). When ICS is disabled, Windows will restore the default configuration of the sharing port. The purpose of this step is to ensure that the default sharing port configuration is correct. When ICS is inactive the sharing port needs to obtain an IP address automatically from the AirPort via DHCP. Right-click your chosen WiFi sharing connection > Properties > Networking > Internet Protocol Version 4 (TCP/IPv4) > Properties and configure as follows:
    10. Share your Internet connection
    Right-click the connection you want to share > Properties > Sharing and configure as follows (you may find the other settings also useful but they're not covered here):
    And now you're ready to enjoy your local network services as well as your shared Internet connection, all on your Airport Extreme network - without having to lift a finger to configure network clients!
    Windows Network Profiles
    If you use Windows network profiles to distinguish between Home, Work and Public networks, here are some additional notes you may find useful.
    As Windows recognises networks, it applies their assigned profiles which add or remove sets of restrictions wrt. network discovery, file & printer sharing and so on. The amount of ICS configuration data that can be included with AirPort DHCP information is limited and in some instances this interferes with how Windows recognises networks.
    It seems that Windows recognises a network once a default router has been configured for it. Following are some known scenarios with fixes for each, based on that principle.
    1. WiFi network not recognised
    When ICS is enabled, on the ICS host Windows configures only an IP address for the sharing port and no default router. When ICS is disabled, on the ICS host this port receives its configuration from the AirPort via DHCP, as do all other WiFi clients. This DHCP configuration includes router information for the ICS network, but again no router information for the AirPort network itself.
    Therefore the AirPort network is not recognised on any Windows machines on the WiFi network, under any circumstances.
    To make Windows recognise the AirPort network, execute the following from the command line with Administrator privileges:
         route -4 add 0.0.0.0 mask 0.0.0.0 192.168.137.254 metric 3000
    This metric is high enough to ensure that "real" default routes get preference over this one.
    If you want to remove the above routing table entry, execute the following from the command line with Administrator privileges:
         route -4 delete 0.0.0.0 192.168.137.254
    For convenience I created shortcuts for these two commands.
    2. WiFi network recognised, unrecognised network remains
    Once you've added the route above to make Windows recognise your AirPort network, when ICS is disabled Windows will probably identify TWO networks on your WiFi adapter:
         Unidentified network, your_AirPort_network
    Windows now recognises your AirPort network, but the DHCP router entry for the inactive ICS network makes it think there must be yet another network. However, the 192.168.137.1 ICS port is not present when ICS is inactive, so Windows reports the inactive router entry as an unidentified network.
    If you want to remove this unidentified network/router entry, execute the following from the command line with Administrator privileges:
         route -4 delete 0.0.0.0 192.168.137.1
    On your Windows ICS host, removing this entry can cause no harm.
    However, on network clients where you removed this entry and subsequently want to share your Internet connection from again, you'll need to add it back.
    To restore the ICS router entry, execute the following from the command line with Administrator privileges:
         route -4 add 0.0.0.0 mask 0.0.0.0 192.168.137.1 metric 1

  • How can i access the hard disk and know the no of partitions

    sir
    i want to access the hard disk and know how many parttions the hard disk have means c,d,e,f,g or may be c,d,e? also volum no or serial no.
    but i do not know how?
    plz help me and send me a code
    thanks in advance
    if this quesstion is not related to this forum plz guide me that where i put this quesstion?

    You figure out how to do it on your OS using C/C++ code.
    Then you write a wrapper in JNI to call your C/C++ code.

  • USB Hard Disk does not show up

    If I open Airport Utility and go to Base Station-->Manual Setup-->Disks, I can see my Maxtor Hard Drive. However, I do not see it on my desktop or in the Airport Disk Utility. Is there something I need to do to access the hard disk? I gave it a password during the initial setup, but I cannot even see the drive anywhere except in Airport Utility.

    Yes I did, but the problem was actually just solved by simply shutting my MBP down and restarting. For some reason it wasn't showing up, but now it does. Thanks for the help though. I do appreciate it.

  • Is it possible to access inbuilt hard disk drive in Apple Airbook

    is it possible to access inbuilt hard disk drive in Apple Airbook

    Kamal666 wrote:
    Yes i would like to access contents, files or etc... on hard drive or inbuild flash drive, Same like Windows my computer hard drives access
    Finder Preferences > General > check "Hard Disks"

  • The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.

    The finder window for an external USB hard disk suddenly started separating files by time (today, yesterday, etc.) and stopped allowing me to change column width, order, etc. Also the header bar shifted to flat white from gray.
    All was normal until the icon for the disk stopped showing up on the desktop when I would plug it in. I rebooted the computer, and the disk icon now shows up but this new look to the finder window started as a result. The hard disk does not have this problem when I use it on another Mac running Snow leopard. Also, two other external hard disks that I use on this computer running lion 7.4 still have the normal header bars with columns that can be reordered, etc.
    I have tried looking in preferences and other places but have not seen this discussed. 

    Well duh - I finally figured out that somehow in the View options for the hard drive, the "arrange by" option had been changed to "by date" from "none". Not sure how that happened, I had never used the "view options" menu tem before. Changing "arrange by" back to "none" gets the gray column headers and the collapsible folder icons back. 

  • Arch: Install to & run from External USB Hard Disk Drive (HDD)

    I wanted to play with ArchLinux 2009.02, but replacing the existing Debian-Lenny on the laptop's HDD wasn't an option. So I experimented with installing Arch on an external USB Hard Disk Drive.
    I have tried to make this "newbie-friendly", so I hope the more experienced will forgive the detail.
    Materials:
    Three year old Dell Inspiron 6000
         CPU = 2.0 GHz Pentium
         RAM = 2.0 GB
         Internal HDD = 80 GB
         Internal CD/DVD R/RW
    External USB HDD = Freecom FHD-2 Pro 80 GB
    Archlinux 2009.02 install CD
    Steps to install:
    1. I put the Archlinux install CD in the drive and connected the external 80 GB HDD in the USB port.
    2. When the Dell laptop was booted, I pressed F2 to enter the BIOS setup. I edited the boot sequence to the following:
         Internal CD/DVD
         External USB device
         Internal HDD
    On the Dell, you can also press F12 to select the preferred boot device for that boot.
    3. I started the laptop and the Archlinux installation menu came up and I proceeded with installation following the "Official Arch Linux Install Guide" and the "Beginners Guide".
    4. Used km to change to UK keyboard layout and then began the installer script (/arch/setup). I was installing from the core CD so I skipped the network steps.
    5. HDD preparation.
    This was fairly straightforward with two cautions:
         (a) Make very sure that the external HDD (sdb) is selected for the operations.
         (b) Remember to set the Bootable Flag for the first (/) partition on the HDD.
    I chose 20 GB for /, 2 GB for swap and the remainder for /home.
    6. The package selection and installation was fairly straightforward.
    7. Configuration of System
    This was section was straightforward with one warning:
         USB had to be added to the HOOKS in the /etc/mkinitcpio.conf file!
    I found this to be essential for my external USB HDD to function as a bootable device. Otherwise I got the same sorts of errors relating to unrecognisable file system types that other people have reported in the forum.
    The relevant line from the end of the edited /etc/mkinitcpio.conf file is below:
    HOOKS="base udev autodetect pata scsi sata usb filesystems"
    8. Installation of GRUB was the other point where caution and/or correction was necessary.
    When it asked where GRUB should be installed, I had to select sdb (my external USB HDD) and not any of the particular partitions on sdb. If the root partition sdb1 was selected then the laptop won't boot from the external USB HDD.
    The GRUB /boot/grub/menu.lst as written by the installation routine specifies hd(1,0) which doesn't work when you try to reboot from the external USB HDD. When you boot Arch from the external USB HDD, as far as Arch is concerned - at that point in time - the external USB HDD is the first drive in the system. To fix this:
         (a) When the Arch boot menu comes up, press e to edit the grub entries.
         (b) Change the first line to hd(0,0)
         (c) To the end of the kernel line add rootdelay=8
         (d) Press b to boot the system with these temporary corrections.
         (e) Once your Arch system has booted, edit the /boot/grub/menu.lst to make the above changes permanent.
    The relevant portion of my /boot/grub/menu.lst looks like the following:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/... ro rootdelay=8
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title  Arch Linux Fallback
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/... ro rootdelay=8
    initrd /boot/kernel26-fallback.img
    9. The laptop happily and consistently boots Arch Linux from the external USB HDD when it's plugged in before startup/booting.
    Running Arch from the external USB HDD seems as quick as running Debian from the internal HDD.
    So if there is a performance penalty associated with using an external USB HDD, my wife and I haven't noticed.
    In summary, the three essential points to address during installation to an external USB HDD are:
         Remember to set the bootable flag for the first partition.
         Add USB to the HOOKS for /etc/mkinitcpio.conf file.
         Correct the /etc/grub/menu.lst file.
    I hope this is helpful.
    Ted

    Hi Rookie,
    As you say, it is worth remembering the rootfstype= option for the kernel line just in case someone still has problems with GRUB after making all the other changes.
    I was working with the most recent Arch 2009.2 release.
    I only got messages about unrecognisable file system type when I tried booting with the "stock" or "as-installed" GRUB (before I edited /boot/grub/menu.lst). After editing /boot/grub/menu.lst to identify the drive correctly and add rootdelay, GRUB was able to do the rest and everything worked OK without any error messages.
    Best wishes,
    Ted

  • HT4889 Migration Assistant to update my new Mountain Lion iMac from an external USB hard disk drive, it is constantly saying that it is "looking for other computers". It doesn't find the external drive. Why is it looking for other computers?

    I'm trying to use Migration Assistant to update my new Mountain Lion iMac from an external USB hard disk drive. I told it to look for a drive, yet it is constantly saying that it is "looking for other computers". It doesn't find the external drive ... it just endlessly looks for other computers. Why is it looking for other computers at all, when I told it not to?

    Wow, the wording in Migration Assistant is misleading. I've never used it before, so I thought I would try to copy my files from the external drive ... my old iMac died, but I managed to get everything I need off it, using the 'cp' command in single-user mode. So I guess I'll just have to manually copy the files from the external drive to the new machine. I was hoping that Migration Assistant might help somehow, but obviously not.
    Thanks for the quick reply!

Maybe you are looking for