Re: FreeBSD fdisk how to?

2008-06-21 Thread Nejc Škoberne
Hi, Well, fdisk(8) is somewhat cumbersome to use. Personally I tend to invoke sysinstall(8) to create new slices (can be done after install too.) Much easier to use. OT, but: does sysinstall's fdisk also support gmirror and gstripe devices? Or do I need to use fdisk to make slices there?

Re: FreeBSD fdisk how to?

2008-06-21 Thread Roland Smith
On Sat, Jun 21, 2008 at 11:26:01AM +0200, Nejc Škoberne wrote: Hi, Well, fdisk(8) is somewhat cumbersome to use. Personally I tend to invoke sysinstall(8) to create new slices (can be done after install too.) Much easier to use. OT, but: does sysinstall's fdisk also support gmirror

FreeBSD fdisk how to?

2008-06-20 Thread Unga
Hi all I need to partition a new 250GB SATA disk. BIOS Auto calculated disk geometry shows: parameters extracted from in-core disklabel are: cylinders=119706 heads=16 sectors/track=255 (4080 blks/cyl) That is, Total sectors=488400480 Since the C/H/S values are not compatible with FreeBSD

Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar
g c30401 h255 s63 p 1 165 63 488392002 a 1 I ran fdisk as follows: fdisk -f configfile -itv /dev/ad2 is this disk FreeBSD only? don't use fdisk at all ___ freebsd-questions@freebsd.org mailing list

Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote: From: Wojciech Puchar [EMAIL PROTECTED] Subject: Re: FreeBSD fdisk how to? To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, June 20, 2008, 3:57 PM g c30401 h255 s63 p 1 165 63 488392002 a 1 I

Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar
Yep this hard disk is for FreeBSD only. Why I should not use fdisk? because it's not needed. clean it up dd if=/dev/zero of=/dev/disk bs=64k count=1 make initial label bsdlabel -w disk edit label to your needs bsdlabel -e disk newfs,mount,copy files,umount bsdlabel -B disk

Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote: From: Wojciech Puchar [EMAIL PROTECTED] Subject: Re: FreeBSD fdisk how to? To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, June 20, 2008, 5:18 PM Yep this hard disk is for FreeBSD only. Why I should

Re: FreeBSD fdisk how to?

2008-06-20 Thread Wojciech Puchar
newfs,mount,copy files,umount bsdlabel -B disk But this does not create slices, does it? yes. because slices are not needed if you want freebsd-only disk - that's why i asked for. ___ freebsd-questions@freebsd.org mailing list

Re: FreeBSD fdisk how to?

2008-06-20 Thread Unga
--- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote: From: Wojciech Puchar [EMAIL PROTECTED] Subject: Re: FreeBSD fdisk how to? To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, June 20, 2008, 6:32 PM newfs,mount,copy files,umount bsdlabel -B disk

Re: FreeBSD fdisk how to?

2008-06-20 Thread Erik Trulsson
On Fri, Jun 20, 2008 at 03:44:59AM -0700, Unga wrote: --- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote: From: Wojciech Puchar [EMAIL PROTECTED] Subject: Re: FreeBSD fdisk how to? To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, June 20, 2008, 6:32

Re: FreeBSD fdisk how to?

2008-06-20 Thread Jerry McAllister
On Fri, Jun 20, 2008 at 01:48:44AM -0700, Unga wrote: --- On Fri, 6/20/08, Wojciech Puchar [EMAIL PROTECTED] wrote: From: Wojciech Puchar [EMAIL PROTECTED] Subject: Re: FreeBSD fdisk how to? To: Unga [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Friday, June 20, 2008, 3