Re: FreeBSD ZFS system

2011-06-25 Thread Dick Hoogendijk

Op 23-6-2011 9:35 schreef Valentin Bud:
On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk d...@nagual.nl 
mailto:d...@nagual.nl wrote:


OK, it works very well. Installing a ZFS FreeBSD system with an
ufs /boot is very very easy using the PC-BSD DVD.
However, I have one question:

I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
In OpenSolaris you can install directly to the zfs mirror, but
how's this in this situation After all, an UFS partitin is also
created. How can I get the equivalent of an OpenSolaris mirrored
install for a FreeBSD system?

Hope I phrased the question clearly enough.
___
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org


Hello Community,

 Like others said in their answer to your question, you don't have to 
put /boot on UFS, just go with root on ZFS.
If you would like speed when installing the system I recommend mfsBSD 
- http://mfsbsd.vx.sk/. As pointed out
in the web page there is a script (zfsinstall) that does all the work 
for you. It does all the steps described in the

wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror.

 If you want to gain knowledge about the process of installing FreeBSD 
with root on ZFS then go with the wiki
article. Using mfsBSD I install a 8.2-STABLE custom system in under 5 
seconds. That's pretty neat :).
OK, I tried mfsbsd. I had the iso loaded at ata1 master and 
freebsd-8.2-dvd as ata1 slave.
I booted my VM; mfsbsd came up fine. I mounted my fbsd dvd drive on 
/cdrom and tried to run the zfsinstall script. Alas, it refuses.. It 
can't find the (needed!) 8.2-RELEASE.???tgz file It does not exist. 
There is only a directory 8.2-RELEASE (on DVD as well as on CDROM ). 
Question: is this a bug in zfsinstall script?

How do I work around it?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-25 Thread Valentin Bud
On Sat, Jun 25, 2011 at 5:39 PM, Dick Hoogendijk d...@nagual.nl wrote:

 **
 Op 23-6-2011 9:35 schreef Valentin Bud:

 On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk d...@nagual.nl wrote:

 OK, it works very well. Installing a ZFS FreeBSD system with an ufs /boot
 is very very easy using the PC-BSD DVD.
 However, I have one question:

 I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
 In OpenSolaris you can install directly to the zfs mirror, but how's this
 in this situation After all, an UFS partitin is also created. How can I get
 the equivalent of an OpenSolaris mirrored install for a FreeBSD system?

 Hope I phrased the question clearly enough.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


 Hello Community,

   Like others said in their answer to your question, you don't have to put
 /boot on UFS, just go with root on ZFS.
 If you would like speed when installing the system I recommend mfsBSD -
 http://mfsbsd.vx.sk/. As pointed out
 in the web page there is a script (zfsinstall) that does all the work for
 you. It does all the steps described in the
 wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror.

   If you want to gain knowledge about the process of installing FreeBSD
 with root on ZFS then go with the wiki
 article. Using mfsBSD I install a 8.2-STABLE custom system in under 5
 seconds. That's pretty neat :).

 OK, I tried mfsbsd. I had the iso loaded at ata1 master and freebsd-8.2-dvd
 as ata1 slave.
 I booted my VM; mfsbsd came up fine. I mounted my fbsd dvd drive on /cdrom
 and tried to run the zfsinstall script. Alas, it refuses.. It can't find the
 (needed!) 8.2-RELEASE.???tgz file It does not exist. There is only a
 directory 8.2-RELEASE (on DVD as well as on CDROM ). Question: is this a bug
 in zfsinstall script?
 How do I work around it?


Hello Community,

 You don't need any other CD/DVD to install from. The 8.2-RELEASE.tar.gz
file is on the mfsBSD iso. You have to mount it to /cdrom and you can use
zfsinstall script that comes with mfsBSD to do a root on ZFS install of
FreeBSD.

 I outline the steps:
0. Download http://mfsbsd.vx.sk/iso/mfsbsd-se-8.2-amd64.iso.
1. Boot mfsBSD. No other disk needed to install FreeBSD on root.
2. # mount /dev/acd0 /cdrom (change acd0 with your local CD/DVD drive).
3. # *zfsinstall -d ad0 -t /cdrom/8.2-RELEASE-amd64.tar.xz* -s 4G - change
the drive and swap partition size according to your
needs.

You might wanna check the options of zfsinstall  script, it has quite some
nice ones, see -h flag of the command.

Have a great day,
v
-- 
network warrior
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-25 Thread Damien Fleuriot
On 25 Jun 2011, at 16:39, Dick Hoogendijk d...@nagual.nl wrote:

 Op 23-6-2011 9:35 schreef Valentin Bud:
 On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk d...@nagual.nl 
 mailto:d...@nagual.nl wrote:
 
OK, it works very well. Installing a ZFS FreeBSD system with an
ufs /boot is very very easy using the PC-BSD DVD.
However, I have one question:
 
I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
In OpenSolaris you can install directly to the zfs mirror, but
how's this in this situation After all, an UFS partitin is also
created. How can I get the equivalent of an OpenSolaris mirrored
install for a FreeBSD system?
 
Hope I phrased the question clearly enough.
___
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
mailto:freebsd-questions-unsubscr...@freebsd.org
 
 
 Hello Community,
 
 Like others said in their answer to your question, you don't have to put 
 /boot on UFS, just go with root on ZFS.
 If you would like speed when installing the system I recommend mfsBSD - 
 http://mfsbsd.vx.sk/. As pointed out
 in the web page there is a script (zfsinstall) that does all the work for 
 you. It does all the steps described in the
 wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror.
 
 If you want to gain knowledge about the process of installing FreeBSD with 
 root on ZFS then go with the wiki
 article. Using mfsBSD I install a 8.2-STABLE custom system in under 5 
 seconds. That's pretty neat :).
 OK, I tried mfsbsd. I had the iso loaded at ata1 master and freebsd-8.2-dvd 
 as ata1 slave.
 I booted my VM; mfsbsd came up fine. I mounted my fbsd dvd drive on /cdrom 
 and tried to run the zfsinstall script. Alas, it refuses.. It can't find the 
 (needed!) 8.2-RELEASE.???tgz file It does not exist. There is only a 
 directory 8.2-RELEASE (on DVD as well as on CDROM ). Question: is this a bug 
 in zfsinstall script?
 How do I work around it?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Install your system by hand once you're logged under mfsbsd.

Follow the procedure I really need to finish someday, here:
http://my.gd/bsd.htm (or html ?)___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-23 Thread Valentin Bud
On Tue, Jun 21, 2011 at 10:01 PM, Dick Hoogendijk d...@nagual.nl wrote:

 OK, it works very well. Installing a ZFS FreeBSD system with an ufs /boot
 is very very easy using the PC-BSD DVD.
 However, I have one question:

 I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
 In OpenSolaris you can install directly to the zfs mirror, but how's this
 in this situation After all, an UFS partitin is also created. How can I get
 the equivalent of an OpenSolaris mirrored install for a FreeBSD system?

 Hope I phrased the question clearly enough.
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org


Hello Community,

 Like others said in their answer to your question, you don't have to put
/boot on UFS, just go with root on ZFS.
If you would like speed when installing the system I recommend mfsBSD -
http://mfsbsd.vx.sk/. As pointed out
in the web page there is a script (zfsinstall) that does all the work for
you. It does all the steps described in the
wiki - http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror.

 If you want to gain knowledge about the process of installing FreeBSD with
root on ZFS then go with the wiki
article. Using mfsBSD I install a 8.2-STABLE custom system in under 5
seconds. That's pretty neat :).

a great day,
v
-- 
network warrior
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-23 Thread krad
On 23 June 2011 02:38, Damien Fleuriot m...@my.gd wrote:



 On 22 Jun 2011, at 22:22, krad kra...@gmail.com wrote:

  On 21 June 2011 21:23, Matthew Seaman m.sea...@infracaninophile.co.uk
 wrote:
 
  On 21/06/2011 20:01, Dick Hoogendijk wrote:
  I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
  In OpenSolaris you can install directly to the zfs mirror, but how's
  this in this situation After all, an UFS partitin is also created. How
  can I get the equivalent of an OpenSolaris mirrored install for a
  FreeBSD system?
 
  http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror
 
Cheers
 
Matthew
 
  --
  Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
  PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
 
 
 
  its dead easy to do retrospective as well no need to  rebuild or ditch
 the
  pcbsd install method.
 
  X = current boot drive
  Y = blank drive
  z = zfs partition/slice eg s1d, p3 etc
 
  gpart backup /dev/X | gpart restore /dev/Y
 

 Hey that's pretty cool, does this work to copy from a small disk to a
 bigger one like dump does, or do the partitions have to be the same size ?


  gpart bootcode -b /zfsboot/pmbr -p /zfsboot/(gpt)*zfsboot -i 1 /dev/Y
  zpool attach pool /dev/Xz /dev/Yz
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org


it should work, however I have never done it in practice.

a quick test on my openindiana box shows it does

# zfs create -V 1G rpool/test2
# zfs create -V 2G rpool/test3
# zpool create test rpool/test2
# zpool create test /dev/zvol/dsk/rpool/test2
# zpool attach test /dev/zvol/dsk/rpool/test2 /dev/zvol/dsk/rpool/test3
# zpool status test
  pool: test
 state: ONLINE
 scan: resilvered 82K in 0h0m with 0 errors on Thu Jun 23 10:05:43 2011
config:

NAME   STATE READ WRITE CKSUM
test   ONLINE   0 0 0
  mirror-0 ONLINE   0 0 0
/dev/zvol/dsk/rpool/test2  ONLINE   0 0 0
/dev/zvol/dsk/rpool/test3  ONLINE   0 0 0

errors: No known data errors
#
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-22 Thread krad
On 21 June 2011 21:23, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:

 On 21/06/2011 20:01, Dick Hoogendijk wrote:
  I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
  In OpenSolaris you can install directly to the zfs mirror, but how's
  this in this situation After all, an UFS partitin is also created. How
  can I get the equivalent of an OpenSolaris mirrored install for a
  FreeBSD system?

 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

Cheers

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



its dead easy to do retrospective as well no need to  rebuild or ditch the
pcbsd install method.

X = current boot drive
Y = blank drive
z = zfs partition/slice eg s1d, p3 etc

gpart backup /dev/X | gpart restore /dev/Y

gpart bootcode -b /zfsboot/pmbr -p /zfsboot/(gpt)*zfsboot -i 1 /dev/Y
zpool attach pool /dev/Xz /dev/Yz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-22 Thread krad
ps you dont need the ufs file system  just go zfs root. For recovery have a
full install of bsd on a pen drive.

On 22 June 2011 21:22, krad kra...@gmail.com wrote:



 On 21 June 2011 21:23, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:

 On 21/06/2011 20:01, Dick Hoogendijk wrote:
  I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
  In OpenSolaris you can install directly to the zfs mirror, but how's
  this in this situation After all, an UFS partitin is also created. How
  can I get the equivalent of an OpenSolaris mirrored install for a
  FreeBSD system?

 http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

Cheers

Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



 its dead easy to do retrospective as well no need to  rebuild or ditch the
 pcbsd install method.

 X = current boot drive
 Y = blank drive
 z = zfs partition/slice eg s1d, p3 etc

 gpart backup /dev/X | gpart restore /dev/Y

 gpart bootcode -b /zfsboot/pmbr -p /zfsboot/(gpt)*zfsboot -i 1 /dev/Y
 zpool attach pool /dev/Xz /dev/Yz

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD ZFS system

2011-06-21 Thread Matthew Seaman
On 21/06/2011 20:01, Dick Hoogendijk wrote:
 I'd like to install FreeBSD (pcbsd) on a (zfs) mirror
 In OpenSolaris you can install directly to the zfs mirror, but how's
 this in this situation After all, an UFS partitin is also created. How
 can I get the equivalent of an OpenSolaris mirrored install for a
 FreeBSD system?

http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/Mirror

Cheers

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature