Re: gpart weirdness: diskid/DISK-3EV0P4PZ00007250010X GPT (17G)

2013-10-09 Thread Anton Shterenlikht
>From: Mark Felder >To: freebsd-questions@freebsd.org >Subject: Re: gpart weirdness: diskid/DISK-3EV0P4PZ7250010X GPT (17G) >Date: Wed, 09 Oct 2013 06:56:17 -0500 > >On Wed, Oct 9, 2013, at 4:33, Anton Shterenlikht wrote: >> # gpart show >> =>

Re: gpart weirdness: diskid/DISK-3EV0P4PZ00007250010X GPT (17G)

2013-10-09 Thread Mark Felder
On Wed, Oct 9, 2013, at 4:33, Anton Shterenlikht wrote: > # gpart show > => 34 35566411 da1 GPT (17G) > 34 35566411 - free - (17G) > > => 34 35566411 diskid/DISK-3EV0P4PZ7250010X GPT (17G) > 34 35566411- free - (17

Re: gpart: table 'da0' is corrupt; operation not permitted

2013-07-16 Thread aurfalien
On Jul 16, 2013, at 3:01 PM, Warren Block wrote: > On Tue, 16 Jul 2013, aurfalien wrote: > >> >> On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: >> >>> On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: >>> Upon doing; gpart destroy da0 I get; gpart:

Re: gpart: table 'da0' is corrupt; operation not permitted

2013-07-16 Thread Warren Block
On Tue, 16 Jul 2013, aurfalien wrote: On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: Upon doing; gpart destroy da0 I get; gpart: Device busy crude but effective: DISK=da0 offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` d

Re: gpart: table 'da0' is corrupt; operation not permitted

2013-07-16 Thread aurfalien
On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: > On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: > >> Upon doing; >> >> gpart destroy da0 >> >> I get; >> >> gpart: Device busy > > crude but effective: > > > DISK=da0 > > offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` > dd i

Re: gpart: table 'da0' is corrupt; operation not permitted

2013-07-16 Thread Michael Sierchio
On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: > Upon doing; > > gpart destroy da0 > > I get; > > gpart: Device busy crude but effective: DISK=da0 offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` dd if=/dev/zero of=/dev/$DISK bs=64k count=1 dd if=/dev/zero of=/dev/$DISK bs=64k seek=$o

Re: gpart

2013-04-01 Thread Erich Dollansky
Hi, On Mon, 1 Apr 2013 09:20:21 -0400 "Grant Peel" wrote: > I am currently running 8.0 and am in need of many of the ports to be > upgraded, and have never had much luck doing the upgrade thing with > the base system and ports, preferring instead to completely rebuild > in restore user data. >

RE: gpart

2013-04-01 Thread Grant Peel
-Original Message- From: Erich Dollansky [mailto:erichsfreebsdl...@alogt.com] Sent: March-31-13 9:55 PM To: Grant Peel Cc: freebsd-questions@freebsd.org Subject: Re: gpart Hi, On Sun, 31 Mar 2013 21:28:40 -0400 "Grant Peel" wrote: > I am in the midst of setting up the

Re: gpart

2013-03-31 Thread Erich Dollansky
Hi, On Sun, 31 Mar 2013 21:06:24 -0500 Joshua Isom wrote: > On 3/31/2013 8:54 PM, Erich Dollansky wrote: > > I have had only one problem with this description. I could not boot > > from a GPT setup on my machine done as described there. But I have a > > disk done with PCBSD based on 9.0 which bo

Re: gpart

2013-03-31 Thread Doug Hardie
On 31 March 2013, at 18:28, Grant Peel wrote: > Hi all, > > > > I am in the midst of setting up the framework for new servers using FreeBSD > 9.1. I used the bsdinstall and Manual`` option when setting up the disk > geometry using GPT - graphical setup. > > > > The idea will be to eventual

Re: gpart

2013-03-31 Thread Joshua Isom
On 3/31/2013 8:28 PM, Grant Peel wrote: I was wondering in anyone sees any issues creating the drive geometry using this method, with the intent of restoring dumped filesystems to to, including the root filesystem. Geometry or partition size? If it's geometry, and you need to worry about it,

Re: gpart

2013-03-31 Thread Joshua Isom
On 3/31/2013 8:54 PM, Erich Dollansky wrote: I have had only one problem with this description. I could not boot from a GPT setup on my machine done as described there. But I have a disk done with PCBSD based on 9.0 which booted well. I cannot tell you if this is a problem caused by a later chanc

Re: gpart

2013-03-31 Thread Erich Dollansky
Hi, On Sun, 31 Mar 2013 21:28:40 -0400 "Grant Peel" wrote: > I am in the midst of setting up the framework for new servers using > FreeBSD 9.1. I used the bsdinstall and Manual`` option when setting > up the disk geometry using GPT - graphical setup. > > The idea will be to eventually dump the

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-13 Thread Warren Block
On Sun, 13 Jan 2013, Warren Block wrote: On Sun, 13 Jan 2013, kpn...@pobox.com wrote: On Sun, Jan 13, 2013 at 08:09:00AM +0700, Erich Dollansky wrote: For what is glabel then still good? It is still useful for partition schemes that don't have labels (eg, MBR) AND the filesystem used doesn'

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-13 Thread Warren Block
On Sun, 13 Jan 2013, kpn...@pobox.com wrote: On Sun, Jan 13, 2013 at 08:09:00AM +0700, Erich Dollansky wrote: For what is glabel then still good? It is still useful for partition schemes that don't have labels (eg, MBR) AND the filesystem used doesn't support labels itself AND the end of the

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-13 Thread Erich Dollansky
Hi, On Sun, 13 Jan 2013 01:36:21 -0500 kpn...@pobox.com wrote: > On Sun, Jan 13, 2013 at 08:09:00AM +0700, Erich Dollansky wrote: > > For what is glabel then still good? > > It is still useful for partition schemes that don't have labels (eg, > MBR) AND the filesystem used doesn't support labels

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-12 Thread Erich Dollansky
Hi, On Sat, 12 Jan 2013 09:56:39 -0700 (MST) Warren Block wrote: > On Sat, 12 Jan 2013, Erich Dollansky wrote: > > > in general, I try to create the partitions with gpart, add a label > > with glabel and put a filesystem. I think that I am doing something > > very simple the wrong way but I can

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-12 Thread Warren Block
On Sat, 12 Jan 2013, Erich Dollansky wrote: in general, I try to create the partitions with gpart, add a label with glabel and put a filesystem. I think that I am doing something very simple the wrong way but I cannot see the error. I try to do it in the following way: # gpart destroy -F da0 #

Re: gpart, glabel and newfs --> what am I doing wrong

2013-01-12 Thread Mardorf Ralf
FWIW I could not partition using the FreeBSD 9.0 amd64 install DVD. I partitioned with the PcBSD  8.2 DVD and then tried to install from 9.0, but it anyway caused partitioning issues. After that I partitioned using FreeBSD 8.3, installed 8.3 and then updated to 9.1. Regards, Ralf _

Re: gpart and FreeBSD 8.x

2012-12-03 Thread Rick Miller
On Mon, Dec 3, 2012 at 7:49 AM, Julien Cigar wrote: > > gpart is in BASE on 8.x so there is nothing to install > Thanks, Julien! I added a comment to this effect on the post! -- Take care Rick Miller ___ freebsd-questions@freebsd.org mailing list htt

Re: gpart and FreeBSD 8.x

2012-12-03 Thread Julien Cigar
On 12/03/2012 13:31, Rick Miller wrote: For anyone interested, Posted a new blog with regards to gpart on FreeBSD 8.x (with a link to one of Warren's blog posts): http://blog.hostileadmin.com/2012/12/03/freebsd-partitions-and-filesystems-with-gpart/ gpart is in BASE on 8.x so there is nothing

Re: gpart and mbr give "no operating system" message at boot.

2012-09-07 Thread Polytropon
On Fri, 07 Sep 2012 17:00:24 -0600, markham breitbach wrote: > I was always under the impression that partition 3 was not to be touched as > the "raw" > partition, so figured it was best left alone. No, that is regarding traditional partitioning. But it's not the 3rd partition, it's the 'c' parti

Re: gpart and mbr give "no operating system" message at boot.

2012-09-07 Thread markham breitbach
Thanks Warren! I was always under the impression that partition 3 was not to be touched as the "raw" partition, so figured it was best left alone. I was mostly concerned with installing MBR so it would still be compatible with sysinstall, although I can't really think of a terribly good reason no

Re: gpart and mbr give "no operating system" message at boot.

2012-09-07 Thread Warren Block
On Fri, 7 Sep 2012, markham breitbach wrote: I am trying to partition a disk to be used as the primary boot disk for a FreeBSD 8.3 installation using gpart to install an MBR partition. The system is an existing FreeBSD 5.2.1 system at a remote location (ie impossible to boot from CD/netboot/e

Re: gpart usage during install

2012-02-18 Thread Michael Powell
Robert Simmons wrote: > I'm just installing a 9.0-RELEASE instance in Virtual Box to check > things out. I ran into something odd. With 8.x I install certain > things into a geli encrypted partition. To do this I have to use a > fixit shell and a manual install. Now, I'm trying to do the same

Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Warren Block
On Fri, 23 Dec 2011, Peter wrote: When you ran the 'gpart' commands, did you set the sysctl geom debug variable? [sysctl kern.geom.debugflags=17] That should not be necessary, or advisable. The only time it would be needed is to write to a partition that is mounted. If it is needed, the gp

Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Johan Hendriks
Peter schreef: Peter schreef: Hello all. I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. I used the standard GPT disk layout at install. Now i want to set labels for my disk, so that i can swap around disks a little more easy. So reading through the man page it told me to use gpart

Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Peter
> Peter schreef: >>> Hello all. >>> >>> I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. >>> >>> I used the standard GPT disk layout at install. >>> >>> Now i want to set labels for my disk, so that i can swap around disks a >>> little more easy. >>> So reading through the man page it told

Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Peter
> Hello all. > > I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. > > I used the standard GPT disk layout at install. > > Now i want to set labels for my disk, so that i can swap around disks a > little more easy. > So reading through the man page it told me to use gpart modify -i -l > > T

Re: gpart, modified label does not show up in /dev/gpt.

2011-12-23 Thread Johan Hendriks
Peter schreef: Hello all. I just installed FreeBSD 9.0 RC2 and upgraded to 9.0 RC3. I used the standard GPT disk layout at install. Now i want to set labels for my disk, so that i can swap around disks a little more easy. So reading through the man page it told me to use gpart modify -i -l Th

Re: gpart

2011-06-25 Thread Dick Hoogendijk
Op 25-6-2011 15:14 schreef Dick Hoogendijk: OK, I follow the manual but still... I have a disk fo 20Gb I create a GPT table for the whole disk on it: # gpart create -s gpt /dev/md0 -> md0 created # gpart show md0 34 8573 md0 GPT (4.2M) Only 4 Mb?? Not really what I wanted. Anyone an idea of w

Re: gpart questions

2011-04-26 Thread Bruce Cran
On Tue, 26 Apr 2011 03:10:48 -0500 CyberLeo Kitsana wrote: > # gpart add -b 63 -s 1048500 -t freebsd md0 You could simplify it by using: gpart add -b 63 -t freebsd md0 > # gpart add -b 16 -s 1048484 -t freebsd-ufs md0s1 Likewise: gpart add -b 16 -t freebsd-ufs md0s1 Or, if you want to speci

Re: gpart questions

2011-04-26 Thread CyberLeo Kitsana
On 04/24/2011 12:24 PM, Helmut Schneider wrote: > Hi, > > i'm playing around with (virtual) disks within a VMware ESXi 4.1 server: > ... > So, what did sysinstall that gpart didn't? You forgot to gpart create the inner BSD label on da1s1. 8< # mdconfig -a -t swap -s 512M md0 # gpart show

Re: gpart bootcode manually

2011-01-10 Thread Warren Block
On Mon, 10 Jan 2011, David Demelier wrote: Because I wanted to crypt a /home partition, I tried to make my partition and slice using gpart in the fixit environment. There is the partition I've made : Fixit # gpart show ad0 => 63 625142385 ad0 MBR (298G) 63 6251423851 f

Re: gpart mbr scheme

2009-10-11 Thread Anselm Strauss
Aha, GEOM_PART_MBR is not enabled by default in the 7.2 kernel. That changes with 8.0: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/conf/DEFAULTS.diff?r1=1.10.8%3ARELENG_7_2&tr1=1.10.8.1&r2=1.19.2%3ARELENG_8&tr2=1.19.2.1 I recompiled my kernel, now it works! On Oct 10, 2009, at 22:08