Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-23 Thread Johan Hartzenberg
On Sun, Dec 21, 2008 at 8:00 PM, dick hoogendijk d...@nagual.nl wrote: On Sun, 21 Dec 2008 07:36:07 PST Uwe Dippel udip...@gmail.com wrote: [i]If you want to add the entire Solaris partition to the zfs pool as a mirror, use zpool attach -f rpool c1d0s0 c2d0s2[/i] So my mistake in the

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-23 Thread Richard Elling
Johan Hartzenberg wrote: On Sun, Dec 21, 2008 at 8:00 PM, dick hoogendijk d...@nagual.nl mailto:d...@nagual.nl wrote: On Sun, 21 Dec 2008 07:36:07 PST Uwe Dippel udip...@gmail.com mailto:udip...@gmail.com wrote: [i]If you want to add the entire Solaris partition to the zfs

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-23 Thread Uwe Dippel
Thanks, Richard, for another clarification! I personally always considered your post as enlightening and helpful. Thank you! It was not my intention to step on anyone's feet with my remarks. I simply wished that there was a source of all that information that needed to be extracted from

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-21 Thread dick hoogendijk
On Sat, 20 Dec 2008 17:02:31 PST Uwe Dippel udip...@gmail.com wrote: Now I modified the slice s0, so that is doesn't overlap with s2 (the whole disk) any longer: Part TagFlag Cylinders SizeBlocks 0 rootwm 3 - 10432 159.80GB

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-21 Thread Johan Hartzenberg
On Sun, Dec 21, 2008 at 12:13 PM, dick hoogendijk d...@nagual.nl wrote: On Sat, 20 Dec 2008 17:02:31 PST Uwe Dippel udip...@gmail.com wrote: Now I modified the slice s0, so that is doesn't overlap with s2 (the whole disk) any longer: Part TagFlag Cylinders Size

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-21 Thread Uwe Dippel
[i]If you want to add the entire Solaris partition to the zfs pool as a mirror, use zpool attach -f rpool c1d0s0 c2d0s2[/i] So my mistake in the first place (see first post), in short, was only the last digit: I ought to have used the complete drive (slice 2), instead of *thinking* that it is

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-21 Thread dick hoogendijk
On Sun, 21 Dec 2008 07:36:07 PST Uwe Dippel udip...@gmail.com wrote: [i]If you want to add the entire Solaris partition to the zfs pool as a mirror, use zpool attach -f rpool c1d0s0 c2d0s2[/i] So my mistake in the first place (see first post), in short, was only the last digit: I ought to

[zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
This might sound sooo simple, but it isn't. I read the ZFS Administration Guide and it did not give an answer; at least no simple answer, simple enough for me to understand. The intention is to follow the thread Easiest way to replace a boot disk with a larger one. The command given would be

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Peter Tribble
On Sat, Dec 20, 2008 at 11:52 AM, Uwe Dippel udip...@gmail.com wrote: This might sound sooo simple, but it isn't. I read the ZFS Administration Guide and it did not give an answer; at least no simple answer, simple enough for me to understand. The intention is to follow the thread Easiest

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
Thanks, Peter! (and I really wished the Admin Guide was more practical). So we still do need the somewhat arcane format-partition- tool! I guess, the step that ZFS saves is newfs, then?! Uwe -- This message posted from opensolaris.org ___

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Peter Tribble
On Sat, Dec 20, 2008 at 1:11 PM, Uwe Dippel udip...@gmail.com wrote: Thanks, Peter! (and I really wished the Admin Guide was more practical). So we still do need the somewhat arcane format-partition- tool! I guess, the step that ZFS saves is newfs, then?! If you want to use the whole disk

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Gary Mills
On Sat, Dec 20, 2008 at 03:52:46AM -0800, Uwe Dippel wrote: This might sound sooo simple, but it isn't. I read the ZFS Administration Guide and it did not give an answer; at least no simple answer, simple enough for me to understand. The intention is to follow the thread Easiest way to

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
This is what I did: partition print Current partition table (original): Total disk cylinders available: 10442 + 2 (reserved cylinders) Part TagFlag Cylinders SizeBlocks 0 rootwm 3 - 10441 159.93GB(10439/0/0) 335405070 1 unassigned

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
Gary, thanks. All my servers run OpenBSD, so I know the difference between a DOS-partition and a slice. :) My confusion is about the labels. I could not label it what I wanted, like zfsed or pool, it had to be root. And since we can have only a single bf-partition per drive (dsk), I was

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Gary Mills
On Sat, Dec 20, 2008 at 06:10:10AM -0800, Uwe Dippel wrote: thanks. All my servers run OpenBSD, so I know the difference between a DOS-partition and a slice. :) My background is Solaris SPARC, where things are simpler. Solaris writes a label to a physical disk to define slices (Solaris

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
Now I modified the slice s0, so that is doesn't overlap with s2 (the whole disk) any longer: Part TagFlag Cylinders SizeBlocks 0 rootwm 3 - 10432 159.80GB(10430/0/0) 335115900 1 unassignedwm 00

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Tim
On Sat, Dec 20, 2008 at 7:02 PM, Uwe Dippel udip...@gmail.com wrote: Now I modified the slice s0, so that is doesn't overlap with s2 (the whole disk) any longer: Part TagFlag Cylinders SizeBlocks 0 rootwm 3 - 10432 159.80GB

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Uwe Dippel
[i]prtvtoc /dev/dsk/c1d0s2 | fmthard -s - /dev/rdsk/c2d0s2[/i] Tim, I understand what you try to do here, and had thought of something likewise myself. But - please see my first post - it is not just a mirror that I want, the disk is of a different size, and so is the bf-partition. If I simply

Re: [zfs-discuss] How to create a basic new filesystem?

2008-12-20 Thread Richard Elling
Uwe Dippel wrote: Now I modified the slice s0, so that is doesn't overlap with s2 (the whole disk) any longer: Part TagFlag Cylinders SizeBlocks 0 rootwm 3 - 10432 159.80GB(10430/0/0) 335115900 1 unassignedwm 0