[zfs-discuss] ZFS boot: 3 smaller glitches with console, /etc/dfs/sharetab and /dev/random

2007-04-19 Thread Constantin Gonzalez Schmitz
Hi, I've now gone through both the opensolaris instructions: http://www.opensolaris.org/os/community/zfs/boot/zfsboot-manual/ and Tim Foster's script: http://blogs.sun.com/timf/entry/zfs_bootable_datasets_happily_rumbling for making my laptop ZFS bootable. Both work well and here's a big

Re: [zfs-discuss] Re: Poor man's backup by attaching/detaching mirror

2007-04-11 Thread Constantin Gonzalez Schmitz
Hi, >> How would you access the data on that device? > > Presumably, zpool import. yes. > This is basically what everyone does today with mirrors, isn't it? :-) sure. This may not be pretty, but it's what customers are doing all the time with regular mirrors, 'cause it's quick, easy and reliab

Re: [zfs-discuss] Poor man's backup by attaching/detaching mirror drives on a _striped_ pool?

2007-04-11 Thread Constantin Gonzalez Schmitz
Hi Mark, Mark J Musante wrote: > On Tue, 10 Apr 2007, Constantin Gonzalez wrote: > >> Has anybody tried it yet with a striped mirror? What if the pool is >> composed out of two mirrors? Can I attach devices to both mirrors, let >> them resilver, then detach them and import the pool from those? >

Re: [zfs-discuss] ZFS vs. rmvolmgr

2007-04-11 Thread Constantin Gonzalez Schmitz
Hi, sorry, I needed to be more clear: Here's what I did: 1. Connect USB storage device (a disk) to machine 2. Find USB device through rmformat 3. Try zpool create on that device. It fails with: can't open "/dev/rdsk/cNt0d0p0", device busy 4. svcadm disable rmvolmgr 5. Now zpool create works w

Re: [zfs-discuss] Re: Re: can I use zfs on just a partition?

2007-01-26 Thread Constantin Gonzalez Schmitz
Hi, > When you do the initial install, how do you do the slicing? > > Just create like: > / 10G > swap 2G > /altroot 10G > /zfs restofdisk yes. > Or do you just create the first three slices and leave the rest of the > disk untouched? I understand the concept at this point, just trying to > ex

Re: [zfs-discuss] Re: How much do we really want zpool remove?

2007-01-26 Thread Constantin Gonzalez Schmitz
Hi, I do agree that zpool remove is a _very_ desirable feature, not doubt about that. Here are a couple of thoughts and workarounds, in random order, that might give us some more perspective: - My home machine has 4 disks and a big zpool across them. Fine. But what if a controller fails or wor

Re: [zfs-discuss] Re: can I use zfs on just a partition?

2007-01-25 Thread Constantin Gonzalez Schmitz
Hi Tim, > Essentially I'd like to have the / and swap on the first 60GB of the disk. > Then use the remaining 100GB as a zfs partition to setup zones on. Obviously > the snapshots are extremely useful in such a setup :) > > Does my plan sound feasible from both a usability and performance sta

Re: [zfs-discuss] Home Server with ZFS

2006-08-18 Thread Constantin Gonzalez Schmitz
Hi, >> What i dont know is what happens if the boot disk dies? can i replace >> is, install solaris again and get it to see the zfs mirror? > > As I understand it, this be possible, but I haven't tried it and I'm > not an expert Solaris admin. Some ZFS info is stored in a persistent > file on yo

Re: [zfs-discuss] Proposal: user-defined properties

2006-08-18 Thread Constantin Gonzalez Schmitz
Hi Eric, this is a great proposal and I'm sure this is going to help administrators a lot. One small question below: > Any property which contains a colon (':') is defined as a 'user > property'. The name can contain alphanumeric characters, plus the > following special characters: ':', '-', '.

Re: [zfs-discuss] user undo

2006-05-30 Thread Constantin Gonzalez Schmitz
Hi, so we have two questions: 1. Is it really ZFS' job to provide an undo functionality? 2. If it turns out to be a feature that needs to be implemented by ZFS, what is the better approach: Snapshot based or file-based? My personal opinion on 1) is: - The purpose of any Undo-like action is

Re: [zfs-discuss] Backup/Restore of ZFS Properties

2006-05-30 Thread Constantin Gonzalez Schmitz
Hi, Yes, a trivial wrapper could: 1. Store all property values in a file in the fs 2. zfs send... 3. zfs receive... 4. Set all the properties stored in that file IMHO 3. and 4. need to be swapped - otherwise e.g. files will not be compressed when restored. hmm, I assumed that the ZFS stream