From mail at erwingeerdink.com Sun Mar 17 13:41:16 2013 From: mail at erwingeerdink.com (Erwin Geerdink) Date: Sun, 17 Mar 2013 21:41:16 +0100 Subject: [PC-BSD Support] Automounting problem usb hd w/ UFS filesystem Message-ID: <20130317214116.71344641@erwingeerdink.com> Hi, I have a 1TB usb harddisk which I want to use for backups. For this purpose I replaced the FAT filesystem by UFS2 w/ softupdates and journaling. When I replug the device, the Mount Tray suddenly terminates (segmentation fault, terminal output below). Once restarted, MT is unable to detect the device, although it shows up in dmesg and can be mounted manually. MT used to work fine with the FAT filesystem. Did I format the usb drive incorrectly, or is this a bug in MT? Commands used for ufs replacement (non-root): $ fdisk -BIv da0 $ bsdlabel -w -B da0s1 $ newfs -L packardbell -U -j /dev/da0s1a Outputs: $ uname -a FreeBSD pcbsd-3968 9.1-RELEASE FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root at darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC amd64 $ dmesg (...) da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 953869MB (1953525168 512 byte sectors: 255H 63S/T 121601C) (...) $ fdisk da0 ******* Working on device /dev/da0 ******* parameters extracted from in-core disklabel are: cylinders=121601 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=121601 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 1953520002 (953867 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 768/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: $ bsdlabel da0s1 # /dev/da0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1953519986 16 unused 0 0 c: 1953520002 0 unused 0 0 # "raw" part, don't edit $ pc-mounttray & Locale: "en" pc-mounttray: starting up -User detected: "erwin" -File manager detected: "pcmanfm" -Starting up the DEVD watcher -Performing initial device scan -Program now ready for use Segmentation fault -- Met vriendelijke groet, Erwin Geerdink