Gour, On Sat, Oct 27, 2012 at 10:24:04AM +0200, Gour wrote: > On Fri, 26 Oct 2012 11:40:20 -0400 > Brian Cuttler <br...@wadsworth.org> wrote: > > > That is odd, and not reflective out output for ZFS file systems > > on a Solaris box. > > Hmm.. > > > Clearly the script will not work for you as intended. > > You mean dump or even gnutar?
No, I meant the script that takes your zfs list output and turns it into DLEs. You should be able to dump with (appropriate tar) the zfs file systems using Amanda. You can amend th script, or, since its been run once, you can stop running it and ammend the static output it created. > > I have no clue what tank0/ROOT/default contains, suspect > > /root/default is the mount point, but you'd know and I > > can only guess. Suspect tank0/ROOT is in fact /root. > > Here I'll include df-h output as well: If I'm reading correctly (cafeine dependent) tank0/ROOT/default is / tank0/ROOT/root is /root both of which should be backed up. and both of these tank0 tank0/ROOT are the root of the ZFS file system and not mounted to the system per se. * Someone with more experience (than I have, which is pretty much none) with ZFS for linux may want to weigh in. * There is NO substitute for an attempted restore, see if you actually have backed up, what you think you have backed up. Practice the restore, we have yet to restore a system at my site with a ZFS boot and in fact several of our systems have UFS boot drives, even though they may have quite large, or even multiple zpools. (ZFS is currently only used on Solaris at my site) > [gour@atmarama gour] df > -h > ~ Filesystem Size Used Avail Capacity Mounted > on tank0/ROOT/default 368G 5.5G 363G 1% / > devfs 1.0k 1.0k 0B 100% /dev > procfs 4.0k 4.0k 0B 100% /proc > linprocfs 4.0k 4.0k 0B > 100% /compat/linux/proc tank0/root 363G 40M > 363G 0% /root tank0/tmp 363G 126k > 363G 0% /tmp tank0/usr/home 363G 73k > 363G 0% /usr/home tank0/usr/home/gour 893G 529G > 363G 59% /usr/home/gour tank0/usr/jails 363G > 83M 363G 0% /usr/jails tank0/usr/obj 363G > 31k 363G 0% /usr/obj tank0/usr/pbi 374G > 11G 363G 3% /usr/pbi tank0/usr/ports 363G > 675M 363G 0% /usr/ports tank0/usr/ports/distfiles 363G > 106M 363G 0% /usr/ports/distfiles > tank0/usr/src 363G 435M 363G 0% /usr/src > tank0/var/audit 363G 31k 363G 0% /var/audit > tank0/var/log 363G 626k 363G 0% /var/log > tank0/var/tmp 363G 114k 363G 0% /var/tmp > > > and zfs list (again): > > [gour@atmarama gour] zfs list > ~ > NAME USED AVAIL REFER MOUNTPOINT > tank0 550G 363G 31K legacy > tank0/ROOT 5.52G 363G 31K legacy > tank0/ROOT/default 5.52G 363G 5.52G /mnt > tank0/root 40.1M 363G 40.1M /root > tank0/swap 2.06G 365G 37.8M - > tank0/tmp 127K 363G 127K /tmp > tank0/usr 543G 363G 31K /mnt/usr > tank0/usr/home 530G 363G 73.5K /usr/home > tank0/usr/home/gour 530G 363G 530G /usr/home/gour > tank0/usr/jails 83.8M 363G 83.8M /usr/jails > tank0/usr/obj 31K 363G 31K /usr/obj > tank0/usr/pbi 11.6G 363G 11.6G /usr/pbi > tank0/usr/ports 782M 363G 676M /usr/ports > tank0/usr/ports/distfiles 106M 363G 106M /usr/ports/distfiles > tank0/usr/src 435M 363G 435M /usr/src > tank0/var 802K 363G 31K /mnt/var > tank0/var/audit 31K 363G 31K /var/audit > tank0/var/log 626K 363G 626K /var/log > tank0/var/tmp 114K 363G 114K /var/tmp > > > Does it help? > > > I can not be 100% certain about linux, but as far as Solaris > > goes (I believe linux to be the same) dump will only dump ext > > type, ufs, xfs etc type file systems, that tar is always used > > with ZFS file systems. > > I'm on Free(PC)BSD. > > > Sincerely, > Gour > > -- > A person who has given up all desires for sense gratification, > who lives free from desires, who has given up all sense of > proprietorship and is devoid of false ego ? he alone can > attain real peace. > > http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810 > --- Brian R Cuttler brian.cutt...@wadsworth.org Computer Systems Support (v) 518 486-1697 Wadsworth Center (f) 518 473-6384 NYS Department of Health Help Desk 518 473-0773 IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.