Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-16 Thread Stephane HUC "CIOTBSD"
Hi... David: thanks for this info. It seems i found why the "bug"? If the table of partition is "(ms)dos", the detection of USB HDD (or pendrive) is correct, and mount! If the table of partition is "GPT", the detection hang! Alexey Vatchenko is warned about this problem, by personnal discussio

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-16 Thread David Coppa
On Wed, 16 Nov 2016, Stephane HUC "CIOTBSD" wrote: > Question: How i can "write" fstype "NTFS" on the "defective" HDD? > It's really formated in NTFS - mode normal, on Win7! Try with "fdisk -e" under OpenBSD. Use "07" for the partition id and, for the other parameters (offset, size), just press

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-16 Thread Stephane HUC "CIOTBSD"
Just for info: I have an USB Pendrive for µSDCard. This run correctly: # dmesg | tail -n 5 umass0 at uhub0 port 2 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.00 addr 6 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-16 Thread Stephane HUC "CIOTBSD"
Hi, Alexey Sorry, but it's not run! $ doas /usr/local/libexec/hotplug-diskmount cleanup 3AS $ doas /usr/local/libexec/hotplug-diskmount cleanup sd1 $ doas /usr/local/libexec/hotplug-diskmount attach -u my_userid -m 0700 -F sd1 $ ls -al /vol/

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-16 Thread Alexey Vatchenko
>From my attach script: /usr/local/libexec/hotplug-diskmount attach -u av -g av -m 750 -r dirty -F "$DEVNAME" As a result: /dev/sd2i on /vol/TransMemory type ntfs (local, nodev, nosuid, read-only) With FUSE, /usr/local/libexec/hotplug-diskmount attach -u av -g av -m 750 -r dirty "$DEVNAME" And t

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-14 Thread Stephane HUC "CIOTBSD"
On 11/14/16 13:03, Alexey Vatchenko wrote: > Unfortunately, from time to time FUSE hangs my system. So I have to > use -F to disable FUSE. $ /usr/local/libexec/hotplug-diskmount cleanup 3AS $ /usr/local/libexec/hotplug-diskmount attach -u $USER -m 0700 -F 3AS $ mount /dev/sd0a on / type ffs (loc

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-14 Thread Stephane HUC "CIOTBSD"
Ok, Last night, i formatted again my HDD under Windows 7, in NTFS - normal mode. This taked more than 3 hours. After i connect at my laptop under OBSD. It's same result. $ disklabel sd1 # /dev/rsd1c: type: SCSI disk: SCSI disk label: 3AS duid: flags: bytes/se

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-14 Thread Alexey Vatchenko
Unfortunately, from time to time FUSE hangs my system. So I have to use -F to disable FUSE.

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread David Coppa
On Sun, 13 Nov 2016, Stephane HUC "CIOTBSD" wrote: > $ disklabel sd1 > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: 3AS > duid: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 38913 > total sectors: 625142448

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread Stephane HUC "CIOTBSD"
On 11/13/16 21:32, Mihai Popescu wrote: > Why don't you run hotplug-diskmount directly in a terminal an see what > is the message, if any? > As: # /usr/local/libexec/hotplug-diskmount cleanup 3AS # /usr/local/libexec/hotplug-diskmount attach 3AS # ls -al /vol/ total 16 drwxr-xr-x 4 root whee

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread Mihai Popescu
Why don't you run hotplug-diskmount directly in a terminal an see what is the message, if any?

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread Stephane HUC "CIOTBSD"
Not anyway! It's installed ;) $ pkg_info -Q ntfs ntfs_3g-2016.2.22 (installed) On 11/13/16 18:44, David Coppa wrote: > On Sun, Nov 13, 2016 at 5:16 PM, Stephane HUC "CIOTBSD" > wrote: >> Hi, all >> >> I attempt to mount an external HDD, on my OBSD 6.0 stable. >> For this, i use 'hotplug-diskmo

Re: Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread David Coppa
On Sun, Nov 13, 2016 at 5:16 PM, Stephane HUC "CIOTBSD" wrote: > Hi, all > > I attempt to mount an external HDD, on my OBSD 6.0 stable. > For this, i use 'hotplug-diskmount' in version 1.0.2 downloaded on this url: > > https://bitbucket.org/alex_vatchenko/hotplug-diskmount/get/HOTPLUG_DISKMOUNT_1_

Mount HDD USB on 6.0 Stable: Fail

2016-11-13 Thread Stephane HUC "CIOTBSD"
Hi, all I attempt to mount an external HDD, on my OBSD 6.0 stable. For this, i use 'hotplug-diskmount' in version 1.0.2 downloaded on this url: https://bitbucket.org/alex_vatchenko/hotplug-diskmount/get/HOTPLUG_DISKMOUNT_1_0_2_RELEASE.tar.gz Because, this version seems to support NTFS. (see, off