WARNING : Post with explicit contents
Join to "STOP monolithic all-in-one unmanageable application"
The wiki is your friend https://help.ubuntu.com/community/
Hello givré. I need your help, please.
When I do:
I obtain this error:Code:pmount-hal /dev/sda1
I've translated the error from my language and can be inexact. This error repeats continuously. In five minutes, aproximately, it stops and the disk mounts itself in readonly mode.Code:Error: the assembly point could not be blocked. Probably it is being used by another instance of pmount.
Can you help me? I've fixed disks mounted correctly with ntfs-3d (a serial ata included, in sda1). I have tried all: newer version of fuse, pmount patched, etc. (all are givre's version).
Thanks
PD Sorry, my english is very bad.
Try this :
The first line will give you the output in english, the second will make sure the device is unmounted, and the third one will hopefully mount the drive, or at least gives an error message.Code:LANG=C pumount /dev/sda1 pmount-hal /dev/sda1
Thanks
WARNING : Post with explicit contents
Join to "STOP monolithic all-in-one unmanageable application"
The wiki is your friend https://help.ubuntu.com/community/
Thanks Givré. The message I obtained in english is:
Code:Error: could not lock the mount directory. Another pmount is probably running for this mount point.
Additional information:
If I do less /var/log/messages when I plug the disk I obtain:
Code:Feb 25 17:52:25 raulpc kernel: [17180027.152000] usb 2-1: new high speed USB device using ehci_hcd and address 8 Feb 25 17:52:25 raulpc kernel: [17180027.288000] usb 2-1: configuration #1 chosen from 1 choice Feb 25 17:52:25 raulpc kernel: [17180027.288000] scsi7 : SCSI emulation for USB Mass Storage devices Feb 25 17:52:30 raulpc kernel: [17180032.292000] Vendor: TOSHIBA Model: MK1234GAX Rev: 0000 Feb 25 17:52:30 raulpc kernel: [17180032.292000] Type: Direct-Access ANSI SCSI revision: 00 Feb 25 17:52:30 raulpc kernel: [17180032.296000] SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB) Feb 25 17:52:30 raulpc kernel: [17180032.296000] sdb: Write Protect is off Feb 25 17:52:30 raulpc kernel: [17180032.300000] SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB) Feb 25 17:52:30 raulpc kernel: [17180032.300000] sdb: Write Protect is off Feb 25 17:52:30 raulpc kernel: [17180032.300000] sdb: sdb1 Feb 25 17:52:30 raulpc kernel: [17180032.304000] sd 7:0:0:0: Attached scsi disk sdb Feb 25 17:52:30 raulpc kernel: [17180032.304000] sd 7:0:0:0: Attached scsi generic sg1 type 0
The sudo fdisk -l says:
Code:(...) Device Boot Start End Blocks Id System /dev/sdb1 1 14593 117218241 7 HPFS/NTFS
In fstab there aren't lines referencing sdb1.
dmesg sais:
Thanks!Code:[17180027.152000] usb 2-1: new high speed USB device using ehci_hcd and address 8 [17180027.288000] usb 2-1: configuration #1 chosen from 1 choice [17180027.288000] scsi7 : SCSI emulation for USB Mass Storage devices [17180027.288000] usb-storage: device found at 8 [17180027.288000] usb-storage: waiting for device to settle before scanning [17180032.288000] usb-storage: device scan complete [17180032.292000] Vendor: TOSHIBA Model: MK1234GAX Rev: 0000 [17180032.292000] Type: Direct-Access ANSI SCSI revision: 00 [17180032.296000] SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB) [17180032.296000] sdb: Write Protect is off [17180032.296000] sdb: Mode Sense: 27 00 00 00 [17180032.296000] sdb: assuming drive cache: write through [17180032.300000] SCSI device sdb: 234441648 512-byte hdwr sectors (120034 MB) [17180032.300000] sdb: Write Protect is off [17180032.300000] sdb: Mode Sense: 27 00 00 00 [17180032.300000] sdb: assuming drive cache: write through [17180032.300000] sdb: sdb1 [17180032.304000] sd 7:0:0:0: Attached scsi disk sdb [17180032.304000] sd 7:0:0:0: Attached scsi generic sg1 type 0 [17180197.184000] UDF-fs: No VRS found
ok, so it seams that there is a remnant lock file in the mount point.
Could you search a .pmount-lock (or something like that) in /media/usbdisk (or something like that) and delete it. Then unplug/plug should works.
WARNING : Post with explicit contents
Join to "STOP monolithic all-in-one unmanageable application"
The wiki is your friend https://help.ubuntu.com/community/
There are not files with pmount-lock, mount-lock, *lock, or similar nowhere
I find /etc/mtab.fuselock that do nothing and /etc/pmount.allow that is empty:
Any idea?Code:# /etc/pmount.allow # pmount will allow users to additionally mount all devices that are # listed here.
YES YES YES YES YES!! Reading your answer I'f search in google lock file mount point. The lock file seems to be this: /var/lock/pmount__media_CAJA PUROS", because CAJA PUROS is the label of my usb disk.
I'll try...
Hum, didn't remember that pmount stoked his lock file in var/lock. Good that you found it.
Good luck
WARNING : Post with explicit contents
Join to "STOP monolithic all-in-one unmanageable application"
The wiki is your friend https://help.ubuntu.com/community/
Nooo, this file is created in the moment I do sudo pmount /dev/sdb1. Some idea?
This is expected, the point of that is to not be able to mount 2 times the same device.
If it still don't work, we should look at the debug info.
1. Check before that it is not mounted (look at /etc/mtab)
2. Delete the lock file
3. mount in debug mode :
Code:pmount -d /dev/sdb1
WARNING : Post with explicit contents
Join to "STOP monolithic all-in-one unmanageable application"
The wiki is your friend https://help.ubuntu.com/community/
Bookmarks