Re: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran
On 08/07/2012 13:10, Warren Block wrote: bsdinstall(8) has a curses partition editor. There is probably a trick needed to use that outside of an install context. Just run bsdinstall partedit. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing

Re: power failure, boot, and fsck

2012-07-09 Thread Matthew Seaman
On 09/07/2012 04:22, Patrick Donnelly wrote: UFS: /dev/ad10s3f (/usr) Automatic file system check failed, help! error aborting boo (sending sigtem to parent)! init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. enter full pathname of shell or RETURN for /bin/sh: In

Re: power failure, boot, and fsck

2012-07-09 Thread Wojciech Puchar
fsck does run automatically when a filesystem does not get shut down cleanly. However, fsck cannot fix all of the problems a filesystem can experience without risk of loss of data. In those cases, there is no option but to stop and ask the operator to intervene. fsck_y_enable=YES in rc.conf

Re: power failure, boot, and fsck

2012-07-09 Thread Wojciech Puchar
After a power failure at home, my FreeBSD server automatically starts again but fails to mount my UFS /boot disk because it was not properly unmounted. Here is my fstab: $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1a /boot-disk ufs

Re: Format a USB flash drive using gpart

2012-07-09 Thread Polytropon
On Sun, 08 Jul 2012 23:27:23 -0400, Thomas Mueller wrote: You mean the non-subdivided 1.44 MB or other capacity of a floppy is called a partition? Let's try to use the correct terminology. If you're talking about an MS-DOS disk, then yes, it contains a DOS partition which is formatted. In

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
If you're talking about an MS-DOS disk, then yes, it contains a DOS partition which is formatted. In FreeBSD, we would call it a slice (slice == DOS primary partition). In this case, there is no (sub)partitioning, the _slice_ carries the MS-DOS unless you need windows 98 support partitionless

Re: YASSDQ

2012-07-09 Thread Wojciech Puchar
Notes: 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the All use 4K as it is NTFS default block size and most are sold to be used with windoze. first filesystem partition at 1M works for most of the common values. Alignment of filesystem cannot be better than

Granatelli Motor Sports Newsletter - Issue #3 - July 2012

2012-07-09 Thread Granatelli Motor Sports, Inc.
Granatelli Motor Sports Newsletter - Issue 1 - October 2011 - Granatelli Twin Turbo Kit Update for 5th Gen Camaros, Granatelli Dominates Ignition Test, Granatelli Sure Start Smart Eliminates Dead Batteries http://granatellimotorsports.hosted.phplist.com/lists/lt.php?id=MR0PSFBTS1FWUlUG *

Re: power failure, boot, and fsck

2012-07-09 Thread Daniel Feenberg
On Mon, 9 Jul 2012, Matthew Seaman wrote: On 09/07/2012 04:22, Patrick Donnelly wrote: UFS: /dev/ad10s3f (/usr) Automatic file system check failed, help! error aborting boo (sending sigtem to parent)! init: /bin/sh on /etc/rc terminated abnormally, going to single user mode. enter full

Re: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran
On 09/07/2012 11:16, Polytropon wrote: If you're talking about an MS-DOS disk, then yes, it contains a DOS partition which is formatted. In FreeBSD, we would call it a slice (slice == DOS primary partition). In this case, there is no (sub)partitioning, the _slice_ carries the MS-DOS file system

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
Floppy disks aren't partitioned/sliced - they use 'dangerously dedicated' they use dangerously obsolete mode. nobody use them at all. disk's empty. If you're on an old system and run 'gpart show da0' and don't see a partition table it's quite easy to forget to check if da0 itself contains a

Re: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran
On 09/07/2012 13:17, Wojciech Puchar wrote: they use dangerously obsolete mode. nobody use them at all. A company I worked with were still distributing files on floppy disks as recently as 2009. They _are_ obsolete, but I suspect plenty of people still use them. unless it is a normal way

Re: Format a USB flash drive using gpart

2012-07-09 Thread Wojciech Puchar
A company I worked with were still distributing files on floppy disks as recently as 2009. quite funny :) They _are_ obsolete, but I suspect plenty of people still use them. unless it is a normal way of using it. That's right - I was thinking of my system where I destroyed all the data on

Re: Format a USB flash drive using gpart

2012-07-09 Thread Bruce Cran
On 09/07/2012 13:29, Wojciech Puchar wrote: only your fault, not FreeBSD. Why you connected your data disk at first place. I didn't say it was FreeBSD's fault. If I thought it was, I would have fixed it! -- Bruce Cran ___

Re: YASSDQ

2012-07-09 Thread Bruce Cran
On 09/07/2012 11:31, Wojciech Puchar wrote: All use 4K as it is NTFS default block size and most are sold to be used with windoze. Apparently the Intel 320 SSDs use an 8KB page/block size. -- Bruce Cran ___ freebsd-questions@freebsd.org mailing list

Re: YASSDQ

2012-07-09 Thread Arthur Chance
On 07/09/12 13:38, Bruce Cran wrote: On 09/07/2012 11:31, Wojciech Puchar wrote: All use 4K as it is NTFS default block size and most are sold to be used with windoze. Apparently the Intel 320 SSDs use an 8KB page/block size. From a Crucial forum, thread about Crucial M4 SSDs, posted by a

Re: YASSDQ

2012-07-09 Thread Warren Block
On Mon, 9 Jul 2012, Wojciech Puchar wrote: Notes: 1. SSDs don't necessarily use 4k blocks, some use larger ones. Starting the All use 4K as it is NTFS default block size and most are sold to be used with windoze. No. For example, some of the Crucial M4 drives are 4K, some are 8K. first

encrypted ZFS root and encrypted swap OOTB?

2012-07-09 Thread David Christensen
freebsd-questions: It is possible to install FreeBSD with an encrypted ZFS root and encrypted swap using FreeBSD-9.0-RELEASE-amd64-dvd1? I'm looking for something similar to the Debian installer, which provides disk partitioning, file system creation, mounts, LUKS, LVM, etc.. TIA, David

Re: Format a USB flash drive using gpart

2012-07-09 Thread Ian Smith
On Sun, 8 Jul 2012 21:00:40 +0100, Bruce Cran wrote: On 08/07/2012 16:06, Ian Smith wrote: In general they're not distinct in usage from any other type of disk. The more expensive disks of course support TRIM so you'd want to pass -t to newfs to enable it. Thanks. Next time I blow

Re: Format a USB flash drive using gpart

2012-07-09 Thread Warren Block
On Mon, 9 Jul 2012, Bruce Cran wrote: On 09/07/2012 11:16, Polytropon wrote: If you're talking about an MS-DOS disk, then yes, it contains a DOS partition which is formatted. In FreeBSD, we would call it a slice (slice == DOS primary partition). In this case, there is no (sub)partitioning, the

FreeBSD 9.0 LSI MegaRAID SATA problem

2012-07-09 Thread Bosko Radivojevic
Hi all! I have a problem installing FreeBSD 9.0 on Fujitsu Primergy RX200 S5 server with LSI MegaRAID SATA controller (two SATA HDDs in RAID1 array). When booted from a CD, FreeBSD doesn't recognize RAID Array, it recognizes HDDs only (ad4 ad6). On the same server, FreeBSD 8.3 installation

Using smartctl to detect scan errors (like google tells me to do ...)

2012-07-09 Thread Jason Usher
The big report that google published made it clear that even a single scan error in the SMART data of a disk drive is a good predictor of eventual failure... However, when I run smartctl: # smartctl -a /dev/da0 | grep -i pre-fail 1 Raw_Read_Error_Rate 0x000b 100 100 016Pre-fail

Re: Using smartctl to detect scan errors (like google tells me to do ...)

2012-07-09 Thread Bruce Cran
On 09/07/2012 16:12, Jason Usher wrote: What is a scan error, and which metric should I tell smartctl to check ? I think they mean a SMART scan, as in a self-test - http://www.twopenguins.it/2011/12/test-an-hard-disk-with-smartctl/ has details of how to run it. -- Bruce Cran

Re: Format a USB flash drive using gpart

2012-07-09 Thread Jerry McAllister
On Mon, Jul 09, 2012 at 07:44:28AM +0200, Wojciech Puchar wrote: You don't. You wipe the FAT32 with fdisk and make a FreeBSD slice on it. Then you can bsdlabel it with one partition and newfs it. Or you can repeat 100 times more that you have to make fdisk and bsdlabel. you don't, and it

NTFS data recovery

2012-07-09 Thread Graeme Dargie
Hi All, I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. No joy Windows insists that the partition is RAW and I need to format it.

Re: encrypted ZFS root and encrypted swap OOTB?

2012-07-09 Thread Colin Barnabas
Perhaps this will help- http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ On Mon, Jul 09, 2012 at 07:13:05AM -0700, David Christensen wrote: freebsd-questions: It is possible to install FreeBSD with an encrypted ZFS root and encrypted swap using FreeBSD-9.0-RELEASE-amd64-dvd1? I'm

Re: NTFS data recovery

2012-07-09 Thread Polytropon
On Mon, 9 Jul 2012 16:01:56 +, Graeme Dargie wrote: Hi All, I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. Bad idea. You

Re: NTFS data recovery

2012-07-09 Thread Jerry
On Mon, 9 Jul 2012 18:54:37 +0200 Polytropon articulated: On Mon, 9 Jul 2012 16:01:56 +, Graeme Dargie wrote: Hi All, I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an

Re: NTFS data recovery

2012-07-09 Thread jb
Graeme Dargie arab at tangerine-army.co.uk writes: ... Is there a way to scan the drive for deleted files from the command line or something from the ports tree that anyone can recommend to fulfil this requirement. testdisk

Re: NTFS data recovery

2012-07-09 Thread jb
jb jb.1234abcd at gmail.com writes: ... ntfs utilities http://www.freebsd.org/cgi/url.cgi?ports/sysutils/ntfsprogs/pkg-descr I would suggest you compile it before use (otherwise grab a package). jb ___ freebsd-questions@freebsd.org mailing list

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e

2012-07-09 Thread Mario Lobo
On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt schwe...@schweikhardt.net wrote: hello, world\n is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, with all ports compiled from scratch. Qbittorrent (2.9.11) freezes after about 10 to 20 seconds, reacts to mouse clicks

Invalid GPT backup header

2012-07-09 Thread dweimer
I have had a few virtual machine installations come up with gptboot: invalid GPT backup header error message while booting. (some immediately on first boot after install) They still boot fine, and run without problems, but I would like to find a way to fix the problem. Does anyone know how

Re: NTFS data recovery

2012-07-09 Thread Wojciech Puchar
I have been given a laptop to look at for a friend, the hard disk is close to death with a SMART error on POST. My initial thought was to just mount it on an Windows 7 machine and grab what I can from the drive. No joy Windows insists that the partition is RAW and I need to format it. I can

Re: YASSDQ

2012-07-09 Thread Robert Bonomi
From owner-freebsd-questi...@freebsd.org Mon Jul 9 07:40:35 2012 Date: Mon, 09 Jul 2012 13:38:57 +0100 From: Bruce Cran br...@cran.org.uk To: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl Cc: freebsd-questions@freebsd.org, Graham Bentley ad...@cpcnw.co.uk Subject: Re: YASSDQ On

Re: FreeBSD vs Hurd what is the differences?

2012-07-09 Thread Julian H. Stacey
Hi, Carsten Mattner wrote: On Fri, Jul 6, 2012 at 2:42 AM, Julian H. Stacey j...@berklix.com wrote: Hi, Reference: From: Carsten Mattner carstenmatt...@gmail.com Date: Fri, 6 Jul 2012 00:28:32 +0200 Message-id:

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED]

2012-07-09 Thread Mario Lobo
On Mon, 9 Jul 2012 00:00:20 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: On Sun, 8 Jul 2012, RW wrote: On Sat, 7 Jul 2012 20:52:50 +0200 Jens Schweikhardt wrote: hello, world\n is anybody else seeing this? On a fresh 9-STABLE/amd64 as of July 7, with all

Can't get plone to run

2012-07-09 Thread Len Conrad
Following the instructions from Professional Plone 4 Development book. (not plone/zope from ports) freebsd 9.0 got pretty far, then: plone# bin/instance fg 2012-07-09 16:49:55 INFO ZServer HTTP server started at Mon Jul 9 16:49:55 2012 Hostname: 0.0.0.0 Port: 8080 2012-07-09

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED]

2012-07-09 Thread Eitan Adler
On 9 July 2012 15:26, Mario Lobo l...@bsd.com.br wrote: I don't know how to get in touch with the boost-lib port mantainer so he/she can fix the port file patch-boost_asio-ioctl to add these changes. The best way to contact a maintainer for something like this is to submit a PR:

Re: qbittorrent freezes, ioctl sign-extension ioctl ffffffff8004667e [SOLVED]

2012-07-09 Thread Mario Lobo
On Mon, 9 Jul 2012 15:35:01 -0700 Eitan Adler li...@eitanadler.com wrote: On 9 July 2012 15:26, Mario Lobo l...@bsd.com.br wrote: I don't know how to get in touch with the boost-lib port mantainer so he/she can fix the port file patch-boost_asio-ioctl to add these changes. The best way