Mount USB flashdrive (FAT) in Solaris 10 6/06

Hi guys!!
I'm trying to mount a (FAT16) USB flashdrive in Solaris 10 6/06.
This is the output of dmesg:
Nov 27 09:32:01 bioinieto usba: [ID 912658 kern.info] USB 2.0 device (usbc76,5) operating at hi speed (USB 2.x) on USB 2.0 root hub: storage@5, scsa2usb1 at bus address 2
Nov 27 09:32:01 bioinieto usba: [ID 349649 kern.info] JetFlash TS128MJF2A
Nov 27 09:32:01 bioinieto genunix: [ID 936769 kern.info] scsa2usb1 is /pci@0,0/pci1028,179@1d,7/storage@5
Nov 27 09:32:01 bioinieto genunix: [ID 408114 kern.info] /pci@0,0/pci1028,179@1d,7/storage@5 (scsa2usb1) online
Nov 27 09:32:01 bioinieto scsi: [ID 193665 kern.info] sd2 at scsa2usb1: target 0 lun 0
Nov 27 09:32:01 bioinieto genunix: [ID 936769 kern.info] sd2 is /pci@0,0/pci1028,179@1d,7/storage@5/disk@0,0
Nov 27 09:32:01 bioinieto genunix: [ID 408114 kern.info] /pci@0,0/pci1028,179@1d,7/storage@5/disk@0,0 (sd2) online
Nov 27 09:32:01 bioinieto genunix: [ID 314293 kern.info] device pciclass,030000@2(display#0) keeps up device sd@0,0(disk#2), but the latter is not power managed
But I cannot find /dev/dsk/sd1, and I can't do mount -F pcfs /dev/XXXXX /mnt/ :-(
Any ideas???
Thank you!

My mistake!! Excuse me!! :-)
# rmformat
Looking for devices...
1. Logical Node: /dev/rdsk/c0t0d0p0
Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
Connected Device: HL-DT-ST DVD-ROM GDR8163B 0D20
Device Type: DVD Reader
2. Logical Node: /dev/rdsk/c3t0d0p0
Physical Node: /pci@0,0/pci1028,179@1d,7/storage@5/disk@0,0
Connected Device: JetFlash TS128MJF2A 1.00
Device Type: Removable
# mount -F pcfs /dev/dsk/c3t0d0p0:c /rmdisk/
# mount
/rmdisk on /dev/dsk/c3t0d0p0:c read/write/setuid/devices/nohidden/nofoldcase/dev=d81090 on lun nov 27 16:52:03 2006
# df -h
/dev/dsk/c3t0d0p0:c 120M 3,6M 116M 4% /rmdisk
Now I'm able to access the pendrive, hooray :-))
Finally, curious question: what's the ":c" in the device ??
Thank you very much!!
Mensaje editado por:
ibantxuyn

Similar Messages

  • [SOLVED]Can't mount USB Flashdrive.

    I cannot use my Flash Drive in Linux anymore. I've flashed Arch using Win32ImageWriter, installed it, but now, a few days after, I wanted to use it for something else, but it does not mount.
    I've opened KDE Partition Manager, my Flash Drive shows up, but it reports a 2.74 PiB size, even though it's just 8 GB.
    dmesg | tail  -n10 has the following output:
    [ 2302.625827] sd 11:0:0:0: [sdc] Write Protect is off
    [ 2302.625836] sd 11:0:0:0: [sdc] Mode Sense: 43 00 00 00
    [ 2302.626571] sd 11:0:0:0: [sdc] No Caching mode page present
    [ 2302.626580] sd 11:0:0:0: [sdc] Assuming drive cache: write through
    [ 2302.631614] sd 11:0:0:0: [sdc] No Caching mode page present
    [ 2302.631629] sd 11:0:0:0: [sdc] Assuming drive cache: write through
    [ 2302.634768] sdc:
    [ 2302.640141] sd 11:0:0:0: [sdc] No Caching mode page present
    [ 2302.640154] sd 11:0:0:0: [sdc] Assuming drive cache: write through
    [ 2302.640161] sd 11:0:0:0: [sdc] Attached SCSI removable disk
    Yeah, it does not report any partitions, even though I've formatted it in Windows like 10 times, tried to create a bootable GParted USB, copied a bunch of random files.
    What can I do? All this happened after Win32ImageWriter, worked fine under Linux Distros before.
    Help will be appreciated, Thanks.
    Last edited by archie0 (2012-07-10 19:22:35)

    Updating from Linux 3.3.4 solved my problem.

  • Recover USB flashdrive

    Hi guys, I was trying to format my USB flashdrive but something went wrong, now the drive's LED keeps on blinking and it won't show up in my desktop, and trying a manual mount says:
    mount: no medium found on /dev/sdb
    BUT, lsusb does show the drive, so its not dead! how can I restore this?
    Here is the output of lsusb (relevant line only):
    Bus 001 Device 006: ID 1b1c:1a01 Corsair
    I really, really want to fix this drive, its 36GB and USB 3.0 , it would be terrible to trash it!
    Any help greatly appreciated!!

    I actually had a similiar experience lately, when copying the latest install media to a usb stick.
    Something went wrong, and when I tried to recover, I got errors when trying to fdisk:
    [root@worker500 johnea]# fdisk /dev/sdb
    Welcome to fdisk (util-linux 2.21.1).
    Changes will remain in memory only, until you decide to write them.
    Be careful before using the write command.
    fdisk: unable to open /dev/sdb: No medium found
    The block device shows in dmesg, and lsusb:
    [1945260.792262] usb 1-1: new high-speed USB device number 55 using ehci_hcd
    [1945260.916877] scsi14 : usb-storage 1-1:1.0
    [1945261.919509] scsi 14:0:0:0: Direct-Access USBest USB2FlashStorage 0.00 PQ: 0 ANSI: 2
    [1945261.921843] sd 14:0:0:0: [sdb] Attached SCSI removable disk
    [root@worker500 johnea]# lsusb
    Bus 001 Device 055: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1GB Flash Drive
    The dd command suggested gives a similiar error to fdisk:
    [root@worker500 johnea]# dd if=/dev/zero of=/dev/sdb bs=8M
    dd: opening '/dev/sdb': No medium found
    The device seems pretty well bricked.
    In my case it's a 1G usb 2.0 stick. So it's not a great loss, but it is a little scary, not knowing how it happened.
    I haven't found any solution, just wanted to include the additional data.

  • Problem mounting usb stick with ISO installed on it [SOLVED]

    I'm experiencing a weird problem regarding mounting usb sticks. Archlinux stopped auto-mounting usb sticks on my machine, but only those that contains an operating system.  Empty or data usb sticks mount without problem.
    A few weeks or month ago, I don't remember exactly, still everything was all right, but due to updates(?) usb sticks won't auto mount any more.
    I have two arch partitions none of them mount usb sticks anymore with operating systems on them.
    Today, I wanted to test a new operating system and write it on my usb stick, and of course I couldn't because arch didn't mount it. Luckily, on my other partitions a few old distos are still installed – I don't use them anymore for years- I booted them up and they mounted the usb stick without problem; it seems only the up-to-date system have problem handling the usb sticks. I have two Arch system installed on two different partitions, Gnome 3 and Enlightenment, both system are up to date.
    Here are some info:
    [mak@myhost ~]$ dmesg | grep -E "sd[a-z]"
    [ 1.369732] sd 2:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/111 GiB)
    [ 1.369819] sd 2:0:0:0: [sda] Write Protect is off
    [ 1.369821] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 1.369872] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.369924] sd 3:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
    [ 1.369982] sd 3:0:0:0: [sdb] Write Protect is off
    [ 1.369985] sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
    [ 1.370070] sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 1.371642] sda: sda1 sda2 sda3 sda4 sda5 sda6
    [ 1.372298] sd 2:0:0:0: [sda] Attached SCSI disk
    [ 1.429438] sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8 sdb9
    [ 1.430159] sd 3:0:0:0: [sdb] Attached SCSI disk
    [ 2.244580] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.348031] systemd[1]: Expecting device dev-sdb8.device...
    [ 2.362842] EXT4-fs (sda5): re-mounted. Opts: discard,data=ordered
    [ 3.358252] Adding 2097148k swap on /dev/sdb8. Priority:-1 extents:1 across:2097148k FS
    [ 5.458907] EXT4-fs (sda5): re-mounted. Opts: discard,data=ordered,commit=0
    [ 52.120360] sd 6:0:0:0: [sdc] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
    [ 52.121310] sd 6:0:0:0: [sdc] Write Protect is off
    [ 52.121319] sd 6:0:0:0: [sdc] Mode Sense: 43 00 00 00
    [ 52.122191] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.122199] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.125825] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.125838] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.126999] sdc: sdc1 sdc2
    [ 52.131071] sd 6:0:0:0: [sdc] No Caching mode page present
    [ 52.131084] sd 6:0:0:0: [sdc] Assuming drive cache: write through
    [ 52.131093] sd 6:0:0:0: [sdc] Attached SCSI removable disk
    [mak@myhost ~]$
    [root@myhost mak]# fdisk -l
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: gpt
    # Start End Size Type Name
    1 2048 18431 8M BIOS boot parti BIOS boot
    2 18432 56641478 27G Linux filesyste sda2
    3 56641536 113264582 27G Linux filesyste sda3
    4 113264640 169887686 27G Linux filesyste sda4
    5 169887744 226510790 27G Linux filesyste sda5
    6 226510848 234441614 3.8G Linux filesyste Spare
    WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
    Disk /dev/sdb: 320.1 GB, 320072933376 bytes, 625142448 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: gpt
    # Start End Size Type Name
    1 2048 18431 8M BIOS boot parti Bios boot
    2 18432 54544383 26G Microsoft basic Partition 2
    3 54544384 109070335 26G Linux filesyste Partition 3
    4 109070336 163596287 26G Microsoft basic
    5 163596288 218122239 26G EFI System Partition 5
    6 218122240 272647630 26G Microsoft basic Partition 6
    7 272648192 327174143 26G Linux filesyste Partition 7
    8 327174144 331368447 2G Linux swap Swap
    9 331368448 625142414 140.1G Linux filesyste Storage
    Disk /dev/sdc: 8027 MB, 8027897856 bytes, 15679488 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x5fadc669
    Device Boot Start End Blocks Id System
    /dev/sdc1 * 0 4040703 2020352 0 Empty
    /dev/sdc2 4036 38595 17280 ef EFI (FAT-12/16/32)
    Disk /dev/sdc1: 2068 MB, 2068840448 bytes, 4040704 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk label type: dos
    Disk identifier: 0x5fadc669
    Device Boot Start End Blocks Id System
    /dev/sdc1p1 * 0 4040703 2020352 0 Empty
    /dev/sdc1p2 4036 38595 17280 ef EFI (FAT-12/16/32)
    [root@myhost mak]#
    [root@myhost mak]# blkid -o list -c /dev/null
    device fs_type label mount point UUID
    /dev/sda1 (not mounted)
    /dev/sda2 ext4 (not mounted) 0a76a275-1798-495b-aa27-732626029de2
    /dev/sda3 ext4 (not mounted) 0e9363ef-3791-409c-8db9-393385007689
    /dev/sda4 ext4 (not mounted) 8f043c02-8b56-4689-a0ee-ed34ccc6f21f
    /dev/sda5 ext4 / 82699b0e-8fe9-41e2-be13-65c798ed8a73
    /dev/sda6 ext4 (not mounted) 3eaab6bf-2d05-4a7b-a6f7-8675e5f18723
    /dev/sdb1 (not mounted)
    /dev/sdb2 ext4 (not mounted) 17069311-9f14-4430-8298-be48194eb874
    /dev/sdb3 ext4 (not mounted) 2e3b383d-3fa7-40df-b52d-c5d07caf252e
    /dev/sdb4 ext4 (not mounted) 9d9b0656-d4ca-4efa-b6f8-1797bd4ead1f
    /dev/sdb5 ext4 (not mounted) 05abf58a-ae6e-4377-9b3d-d6bacd92226d
    /dev/sdb6 ext4 (not mounted) 8d7c6d55-dc47-471f-84f6-aae8864dfdd7
    /dev/sdb7 ext4 (not mounted) b2155741-8f88-4063-bd1b-39b210004b17
    /dev/sdb8 swap <swap> 97cf7cdf-299c-4e0d-a438-c8b79766699c
    /dev/sdb9 ext4 (not mounted) 426648fd-98f5-4fb0-9114-bdbdfea9047c
    /dev/sdc1 udf Sabayon GNOME (not mounted) 2013-07-29-13-08-13-27
    /dev/sdc2 vfat (not mounted) CF68-C2B6
    [root@myhost mak]#
    Thanks for the help.
    jmak
    Last edited by jmak (2013-08-14 00:12:54)

    cfr wrote:
    What is sdc1p? Is that another USB stick? It seems to have an equally weird partition map.
    By the way, you can't create an Arch USB bootable in EFI mode with dd. Obviously don't know about sabayon.
    EDIT: Did you dd to the disk or to a partition? What command exactly did you use? Because it almost looks as if you did something like dd once and create one thing and then dd over the top of one of the partition so you've got a partition which itself has a partition map. Not sure that's possible but it sure looks weird.
    I would wipe the key and start over.
    I don't know what is that. It is a partition on the same usb stick, it was the “dd” that made that partition automatically, I guess. When I burn images into usb, I always use this command:
    # dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx && sync
    I used this when burned Sabayon and it works perfectly.
    The problem is that Arch can't auto-mount its own installation usb either. I put the arch install usb in and I get the following output:
    [root@myhost mak]# blkid -o list -c /dev/null
    device fs_type label mount point UUID
    /dev/sda1 (not mounted)
    /dev/sda2 ext4 (not mounted) 0a76a275-1798-495b-aa27-732626029de2
    /dev/sda3 ext4 (not mounted) 0e9363ef-3791-409c-8db9-393385007689
    /dev/sda4 ext4 (not mounted) 8f043c02-8b56-4689-a0ee-ed34ccc6f21f
    /dev/sda5 ext4 / 82699b0e-8fe9-41e2-be13-65c798ed8a73
    /dev/sda6 ext4 (not mounted) 3eaab6bf-2d05-4a7b-a6f7-8675e5f18723
    /dev/sdb1 (not mounted)
    /dev/sdb2 ext4 (not mounted) 17069311-9f14-4430-8298-be48194eb874
    /dev/sdb3 ext4 (not mounted) 2e3b383d-3fa7-40df-b52d-c5d07caf252e
    /dev/sdb4 ext4 (not mounted) 9d9b0656-d4ca-4efa-b6f8-1797bd4ead1f
    /dev/sdb5 ext4 (not mounted) 05abf58a-ae6e-4377-9b3d-d6bacd92226d
    /dev/sdb6 ext4 (not mounted) 8d7c6d55-dc47-471f-84f6-aae8864dfdd7
    /dev/sdb7 ext4 (not mounted) b2155741-8f88-4063-bd1b-39b210004b17
    /dev/sdb8 swap <swap> 97cf7cdf-299c-4e0d-a438-c8b79766699c
    /dev/sdb9 ext4 /run/media/mak/426648fd-98f5-4fb0-9114-bdbdfea9047c 426648fd-98f5-4fb0-9114-bdbdfea9047c
    /dev/sdc1 iso9660 ARCH_201305 (not mounted) 2013-05-01-07-12-33-00
    [root@myhost mak]#
    It doesn't appear in nautilus side panel.
    Last edited by jmak (2013-08-13 02:44:45)

  • How do I import backup files of Thunderbird profiles and Firefox bookmarks from my Windows XP computer, which are on a USB flashdrive, to my Windows 7 computer?

    Carbonite provided me with complete backup copy of all files on my prior Windows XP computer, on a 32GB Data Traveler USB flashdrive, so I can transfer them to my new windows 7 computer.
    Many of those files will simply restore....but, I believe that all my Firefox bookmark files and my Thunderbird address book and local folders files will need to be "imported" by some procedure to make the transition from WinXP to Win7.

    http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird

  • Is There a Special USB Flashdrive (or External Drive) or SD Card That Is Seen As An Internal Drive by Windows 7 or 8?

    Hi. Is there a USB flashdrive (or Firewire, Thunderbolt flashdrive or external drive) or SD card that the Windows 7 or Windows 8 64-bit so you could boot into windows without having to partition your Mac's drive?
    Thank you in advance.
    Have a great upcoming sunday mass/great week.
    God bless.

    no windows block that
    and bootcamp can't trick windows into seeing external discs as internal ones

  • MDT 2013 deploying OS from USB Flashdrive failed - need to click OK everytime

    We are using MDT 2013 with ADK 8.1 and deploying Windows 7 x64 using media (USB Flashdrive). We can successfully deploy Windows 7 x64b using ethernet cabel but not via USB-Flashdrive. This problem appears on all our HP EliteBook
    Series, old as new computers series. We can boot into WinPE 64 bit and start the proper task sequence, all image is applied then after restart, after the logon screen appears there is an error saying that cannot find "USB media?".
    But after clicking "OK" it works fine until next reboot, same thing again, but the drive is recognized!
    I downloaded all USB drivers from HP website that holds USB 2.0 and 3.0 and drivers that contains open driver files like .inf and .dll files and injected them with the "Profile" that contains all drivers and packages.
    It seems like it needs a timeout because of the script is trying to early to find the USB-flashdrive.
    Any ideas?
    Sorry for language, but you get the Point.
    Best regards

    Hi,
    I would like you to clarify following questions with me:
    1. Did you keep the USB plugged in during the restarting?
    2. Have you make any task sequence to install applications after log in? If so, have them been installed properly?
    Then, please help to collect a boot trace to let me know the details:
    How to collect a good boot trace on Windows 7
    http://blogs.technet.com/b/jeff_stokes/archive/2012/09/17/how-to-collect-a-good-boot-trace-on-windows-7.aspx
    Please upload them to a file sharing service like Onedrive or "Rapidshare" and put a link to them in your reply.
    Kate Li
    TechNet Community Support

  • Creating new mount points on pre installed Solaris 2.7

    Creating new mount points on pre installed Solaris 2.7

    Hi,
    Thanks for suggestion.
    I have checked note 1521371, so as per note I have to provide the locations as given below..
    For PI1 (i.e. PI Development)...............
    Oracle Base Location : /oracle/PI1
    Oracle Home Location : /oracle/PI1/112_64
    Inventory Directory : /oracle/PI1
    For PI2 (i.e. PI Production)...............
    Oracle Base Location : /oracle/PI2
    Oracle Home Location : /oracle/PI2/112_64
    Inventory Directory : /oracle/PI2
    Correct me if I am wrong..
    Could you please tell me, does we need to set the ORACLE environmental variables i.e. ORACLE_BASE, ORACLE_HOME and ORACLE_STAGE before start the ORACLE database installation?
    Kindly suggest,
    Thanks and regards,
    Amit....

  • HAL mounts USB flash devices without support for non-latin characters

    Hey folks!
    How can I make HAL mount USB flash devices with support for German characters such as ä, ö, ü, ß, etc? At the moment there's only a silly question mark instead: http://www12.file-upload.net/20.08.08/3cpcpx.png .
    Can anyone help me?
    Thanks.
    Henrik

    I think it's a bug in KDE4, because no other window manager or desktop environment has such problems. I had it as well, when I used KDE4.0.* for testing and seems like this remained. Do you have a completely german KDE4? Check the system settings!
    A thing comes to my mind, did you check it with konqueror? I guess this bug appears in dolphin, richtig? I schätz mal schon Try it with konqueror, if it doesn't appear there, it's a dolphin thing

  • (Solved)Install packages from Usb/Flashdrive or Dvd-see last post

    Hi,i just started using linux and have what's problay going to sound like a dumb question.can i download packages and put them on a Usb/Flashdrive or dvd and install them with pacman.I have a rocket stick usb modem and cant get it to connet to the net because im missing a package (wvdial).Any help with this will be appreciated.Thx
    BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
    http://bbs.archlinux.org/viewtopic.php?id=83206
    Last edited by unilx (2009-10-26 15:51:30)

    you can surely put those packages onto a removable media & to install those packs with pacman you need to copy those to /var/cache/pacman/pkg directory.
    then just do
    pacman -S package
    BTW i burned this package to a dvd (wvdial) and went to my dvddrive and it wasent there:)
    can't understand this. might be u r saying that u burned wvdial to a dvd & it wasn't there, so there are chances that that dvd is corrupt or burning didn't happen properly
    Last edited by vik_k (2009-10-23 05:42:52)

  • [SOLVED] How to automatically mount USB drives with custom mount point

    edit:
    Original title was : 'Unable to mount USB disk via /etc/rc.local', but got changed since the /etc/rc.local problem isn't relevant for me anymore.
    Hello,
    Since I am new to this forum, I'll start off with this :
    Thanks to archlinux, its founder and all its contributors, cause this is the operating system (flavour) that annoys me the least.
    The root problem :
    I want to automount USB storage devices to other places than /media/ and without the need for programs that depend on gnome and the like. As I tried some stuff with hald and such, I didn't really get to a nice and easy to configure solution. Any hints in that direction are always welcome.
    For now, automount of known USB storages devices during boot, will do.
    So the things I tried and didnt work :
    1.
    Provide the disk info to /etc/fstab (via the disks UUID and 'auto' filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : the mount command in rc.local says '... specify filesystem'
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    2.
    Provide the disk info to /etc/fstab (via the disks UUID and the correct filesystem)
    Add 'mount /mountpoint' to /etc/rc.local
    Result : pc doesn't get through boot process and gives me the 'ctrl-d to reboot or root passwd for maintenance'
    3.
    Provide no disk info in /etc/fstab
    Add the full mount line to /etc/rc.local (mount -t fs /dev/disks/by-uuid/MyUUID /MyMountpoint )
    Result : don't remember the output of the mount execution, but well, it didn't mount
    However, after boot, running /etc/rc.local mounts the USB disks correctly.
    Is there something that isn't loaded at the time of rc.local execution that I need for mounting of USB devices ? Or why else is this failing ?
    Regards,
    BasiK
    Last edited by BasiK (2009-08-28 07:22:50)

    Thanks for the hint hunterthomson, but the pc I will be using it on, is an own-built HTPC/home file server, so there is no way I want to use a graphical file manager to get the usb disks mounted.
    I tried to figure out a little about udev rules, and I got to do what I wanted to do, so thx for pointing me in that direction Mr.Elendig.
    Btw, I am indeed also using auto-sleep/park disks, but this udev way works perfectly.
    I added two rules files to /etc/udev/rules.d/ :
    The first for a known usb disk (with its volume uuid), with a named mountpoint under my media dir /symbiosis/ :
    [basik@plox ~]$ cat /etc/udev/rules.d/80-usb-utopia.rules
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",SYMLINK+="usb-%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a",RUN+="/bin/mkdir -p /symbiosis/utopia"
    ACTION=="add", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/utopia", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[b-z][0-9]", ENV{ID_FS_UUID}=="a59332c2-07ba-4c52-afb5-20e361bdf71a", RUN+="/bin/umount -l /symbiosis/utopia", OPTIONS="last_rule"
    The second for unknown usb disks, to mount under the same dir. This is simply taken from the archwiki http://wiki.archlinux.org/index.php/Ude … .26_Tricks
    Make sure these rules are executed after the ones for specific usb disks.
    [basik@plox ~]$ cat /etc/udev/rules.d/usb-disks.rules
    KERNEL=="sd[a-z]", NAME="%k", SYMLINK+="usb%m", GROUP="storage", OPTIONS="last_rule"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", SYMLINK+="usb%n", GROUP="storage", NAME="%k"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mkdir -p /symbiosis/usb%n"
    ACTION=="add", KERNEL=="sd[a-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,sync,dirsync,noexec,nodev,noatime /dev/%k /symbiosis/usb%n", OPTIONS="last_rule"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/umount -l /symbiosis/usb%n"
    ACTION=="remove", KERNEL=="sd[a-z][0-9]", RUN+="/bin/rmdir /symbiosis/usb%n", OPTIONS="last_rule"
    These may not be the nicest looking udev rules, but it works for what I wanted to do with it.

  • Mounting USB devices in arch guest

    I'm new to virtualbox, but not to linux.  I have been using arch for at least 3 years, so I have some familiarity with it.  I have recently installed arch as a guest OS on virtualbox (on OSX host).  I am having some trouble accessing an attached USB device from the arch guest.  I have defined the virtualbox USB filter for my device, and it appears to work, detecting the identified device and attaching it to the guest (at least as far as virtualbox is concerned).   I can see the device in the virtualbox pull-down menu, and it shows with a "checkmark" next to it, showing (I think) that it has been attached to my arch guest.
    Problem is, I cannot see the device from the arch guest.  no entry in /dev for any USB device.  symptoms are the same whether i insert ther USB device before or after starting the arch guest.  I have HAL and dbus active in my guest.  Also, I have made this work in arch installed natively.  since there is no /dev entry, this might appear to be some form of udev issue?  is there a specific udev setup that I should be aware of for arch as a guest?
    Please help if you can.  I will appreciate all comments and suggestions.
    -dvh

    hey, ive got Arch setup in virtualbox as well, and can mount usb's and cd's etc. (although with some issues i may need to bring up in another thread...) anyways, im assuming you have the PUEL virtualbox and not the OSE one?
    also, your certain that you've mounted the correct USB (on the Virtual Box pull-down menu)? because you may have mounted a USB which was already attached to your host, and not the actual USB?
    just checking, i dont know much about how to fix this issue so im just going at the simple solutions...

  • MOUNT USB STORAGE FOR VM BACKUP

    Hi, I just tried to mount USB Storage to my host with linux version.
    I detect it with fdisk -l and esxcli storage core device list | grep -i usb, after stopping usbarbitrator
    Result:
    /dev/disks #dmesg
    ScsiDevice: 3385: Successfully registered device "mpx.vmhba50:C0:T0:L0" from plugin "NMP" of type 0
    /dev/disks # esxcli storage core device list | grep -i usb
       Display Name: Local USB Direct-Access (mpx.vmhba32:C0:T0:L0)
       Display Name: Local USB Direct-Access (mpx.vmhba50:C0:T0:L0)
    How can I get disk usable for perform a VM backup?

    hooya wrote:
    It's in debugging mode now, which is why I can adb push to the phone. The phone should (and has in the past) mounted USB storage even in debugging mode.
    That wouldn't change the fact that no other USB mass storage will mount either. I'm just using my phone as an example. USB Hard drives and my SD card reader don't show up either, but I can't do a "push" command to those like I can my phone...
    If you are wondering where your post went, I think you meant to hit the 'reply' link rather than the 'report' link.  It happens more often than you would think
    Edit: Oh, I see you already figured that out.
    Last edited by ewaller (2012-07-06 02:30:26)

  • Pcmanfm is "Not Authorized" to mount usb drives

    Hi,
    I recently installed arch linux it's a nice distro but I got a few problem with it.
    The biggest one is that I am actually not able to mount usb drives with pcmanfm this means that I am not able to use my old debian /home so far.
    I tired multiple thinks (some of them are still active)  e.g for example I used to setup a udev rules which wasn't helpful at all (and even after deleting this rule I always see server empty folder in /media (but that's another problem)).
    Any ideas why I am not able to mount encrypted and not encrypted USB drives in arch linux?
    Last edited by 42sec (2011-12-28 13:21:41)

    wonder wrote:paste ck-list-sessions output, uname -r and cat /etc/pam.d/login
    [sec42@archlinux ~]$ ck-list-sessions
    Session1:
    unix-user = '1000'
    realname = ''
    seat = 'Seat1'
    session-type = ''
    active = FALSE
    x11-display = ''
    x11-display-device = ''
    display-device = '/dev/tty1'
    remote-host-name = ''
    is-local = TRUE
    on-since = '2011-12-28T14:28:01.840505Z'
    login-session-id = '1'
    idle-since-hint = '2011-12-28T14:28:32.462384Z'
    [sec42@archlinux ~]$ uname -r
    3.1.5-1-ARCH
    [sec42@archlinux ~]$ cat /etc/pam.d/login
    #%PAM-1.0
    auth required pam_securetty.so
    auth requisite pam_nologin.so
    auth required pam_unix.so nullok
    auth required pam_tally.so onerr=succeed file=/var/log/faillog
    # use this to lockout accounts for 10 minutes after 3 failed attempts
    #auth required pam_tally.so deny=2 unlock_time=600 onerr=succeed file=/var/log/faillog
    account required pam_access.so
    account required pam_time.so
    account required pam_unix.so
    #password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 retry=3
    #password required pam_unix.so sha512 shadow use_authtok
    session required pam_unix.so
    session required pam_env.so
    session required pam_motd.so
    session required pam_limits.so
    session optional pam_mail.so dir=/var/spool/mail standard
    session optional pam_lastlog.so
    session optional pam_loginuid.so
    -session optional pam_ck_connector.so nox11
    -session optional pam_systemd.so

  • [SOLVED] Cannot mount usb (as normal user)

    Hello
    I'm facing this problem for the first time, but can't tell if it came after an update or an unexpected reboot (light went out).
    I'm using latest kde (4.9.2?), and the latest kernel,
    Linux gantz 3.6.6-1-ARCH #1 SMP PREEMPT Mon Nov 5 11:57:22 CET 2012 x86_64 GNU/Linux
    When I plug any usb device, kde ask me what to do. When trying to mount it, either from the kde "mount" plasmoid or from dolphin, I get a "Not authorized" error. Mounting via cli with sudo works fine.
    After doing some research, I found that I need to be in the storage group in order to be able to mount, so I checked, and I was already on the storage group. Next.
    More research sent me to lots of pages talking abour .xinitrc, wich doesn't exists (on my home, at least). Also tons of pages where talking about somethin like "exec ck-launch-session dbus-launch session-manager" (I login via kdm), but the ck-launch-session is not found on my computer either.
    So i'm stucked right now, and don't know how to proceed, any clues? Thanks
    Last edited by mzneverdies (2012-11-10 13:10:09)

    mzneverdies wrote:
    Solved, it was a polkit issue, don't know what caused it, since i didn't touch any config file/dialog.
    after changing allow any to "yes" in this section
    <action id="org.freedesktop.udisks.filesystem-mount">
    <description>Mount a device</description>
    <description xml:lang="da">Montér en enhed</description>
    <message>Authentication is required to mount the device</message>
    <message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
    <defaults>
    <allow_any>yes</allow_any>
    <allow_inactive>yes</allow_inactive>
    <allow_active>yes</allow_active>
    </defaults>
    </action>
    on file /usr/share/polkit-1/actions/org.freedesktop.udisks.policy, everything came back to normal, and i'm able to mount usb devices.
    pd @Raynman: removing myself from the storage group did not change anything.
    that's not a fix, it's a crappy workaround. You are not supposed to touch these files, they will be overwritten on an upgrade. My guess is that you are simply not using systemd and therefore you are not in an active logind session. You have to boot with systemd, as mentioned in the news. Everything should then just work out of the box.

Maybe you are looking for