similar to: ZFS children stepping on parent

Displaying 20 results from an estimated 30000 matches similar to: "ZFS children stepping on parent"

2011 Nov 22
3
SUMMARY: mounting datasets from a read-only pool with aid of tmpfs
Hello all, I''d like to report a tricky situation and a workaround I''ve found useful - hope this helps someone in similar situations. To cut the long story short, I could not properly mount some datasets from a readonly pool, which had a non-"legacy" mountpoint attribute value set, but the mountpoint was not available (directory absent or not empty). In this case
2012 Jan 30
2
Mountpoints
I've been thinking about mountpoints recently. There have been a few problems related to them: - If dbox mails and indexes are in different filesystems, and index fs isn't mounted and mailbox is accessed -> Dovecot rebuilds indexes from scratch, which changes UIDVALIDITY, which causes client to redownload mails. All mails will also show up as unread. Once index fs gets mounted again,
2007 Apr 14
1
Move data from the zpool (root) to a zfs file system
Hi List, As a ZFS newbie, I foolishly copied my data set to the root zpool file system (a large iSCSI SAN array). Thus: # zpool create -f iscsi c4t19d0 c4t20d0 c4t21d0 c4t22d0 c4t23d0 c4t24d0 # zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT iscsi 9.53T 64.5K 5.34T 0% ONLINE - # zfs set mountpoint=/mydisks/iscsi iscsi Then copied
2009 Sep 28
5
zfs receive should allow to keep received system unmounted
zfs receive should allow option to disable immediately mount of received filesystem. In case of original filesystem have changed mountpoints, it''s hard to make clone fs with send-receive, because received filesystem immediately try to mount to old mountpoint, that locked by sourcr fs. In case of different host mountpoint can be locked by unrelated filesystem. Can anybody recommend a
2006 Apr 15
0
parent.children not updated (has_many)
Hi guys! class Parent < ActiveRecord::Base has_many :children end class Child < ActiveRecord::Base belongs_to :parent end I do: parent = Parent.find(1, :include => :children) parent.children.find(3).update_attribute(''name'', ''Tom'') (or parent.children.find(3).name = ''Tom'') parent.children.find(3).name => ''old
2009 Jun 05
4
Recover ZFS destroyed dataset?
I was asked by a coworker about recovering destroyed datasets on ZFS - and whether it is possible at all? As a related question, if a filesystem dataset was recursively destroyed along with all its snapshots, is there some means to at least find some pointers whether it existed at all? I remember "zpool import -D" can be used to import whole destroyed pools. But crawling around the
2012 Nov 09
3
Forcing ZFS options
There are times when ZFS options can not be applied at the moment, i.e. changing desired mountpoints of active filesystems (or setting a mountpoint over a filesystem location that is currently not empty). Such attempts now bail out with messages like: cannot unmount ''/var/adm'': Device busy cannot mount ''/export'': directory is not empty and such. Is it
2006 Jun 13
4
When saving parent fails, children will still be updated
Hi all, When submitting a master/detail form I first want to handle the children before saving the parent. There are has_many and belongs_to relations between the parent and the children, so I can edit the children using (psuedo-)code like: child.destroy for deleting, child.update_attributes for updating and @parent.children.push(child) for adding child-records. I update the parent by using:
2010 Mar 23
0
zfs send/receive and file system properties
I am trying to coordinate properties and data between 2 file servers. on file server 1 I have: zfs get all zfs52/export/os/sles10sp2 NAME PROPERTY VALUE SOURCE zfs52/export/os/sles10sp2 type filesystem - zfs52/export/os/sles10sp2 creation Mon Mar 22 15:28 2010
2007 Jan 23
0
validates_presence_of fields. in parent ok, but how in children?
i have the problem that my child class fileds aren''t validated on saving the parent. working with parent and child works without problems. if all fields are filled correctly everything is saved as expected. but missing fields in the child arent added to the errors. following short sample shows what i try: Model ----------------------------------------------------- class Parent <
2006 Feb 23
3
has_many: inserting children when inserting parent
disclaimer: am in the midst of my first ruby/rails project I have a situation where I want several child records to be created when a new parent record is created. The following represents my first stab at coding it, am I on the right track? Here is the model: parents ---------- id name children ---------- id parent_id name class Parent < ActiveRecord::Base has_many: children end
2006 Dec 07
2
Problem saving parent and children using belongs_to, class_name, and foreign_key
Hi, I have a real simple association setup here that''s just trying to: - Create a new PayjunctionOrder - Create some LineItem objects and assign them to the PayjunctionOrder - Save everything I''m using Rails Edge. ---- class PayjunctionOrder < ActiveRecord::Base has_many :line_items end ------------------ ---- class LineItem < ActiveRecord::Base belongs_to :order,
2009 May 31
1
ZFS rollback, ORA-00322: log 1 of thread 1 is not current copy (???)
Hi. Using ZFS-FUSE. $SUBJECT happened 3 out of 5 times while testing, just wanna know if someone has seen such scenario before. Steps: ------------------------------------------------------------ root at localhost:/# uname -a Linux localhost 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux root at localhost:/# zpool upgrade -v This system is currently running ZFS pool
2004 Nov 23
0
[OT] *nix Server/Windows Client Tips and tricks
Sorry if this is too off topic, but one of the things that happens when you use a *nix box is you have opportunities to do some nifty tricks with shell scripts and whatnot to help maintain your network. Sometimes, this comes at the expense of using the tools that come with some windows software and is the result of necessity. Other times, this comes because the "nifty" tools that come
2006 Jun 03
2
Parent listing children.
My database is set up as Categories > Things associated by category_id and has_many and belongs_to. How would I go about listing all the categories and under each Category is it''s children? Is there an easy rails way to do this - preferably without using acts as tree? Any help is appreciated - thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jan 25
0
acts_as_tree validation on parent.children.create
Validation does not appear to execute on a call to "parent.children.create". Anyone know if this is intentional, or am I doing something wacky? Thanks. -Theo
2008 Sep 03
1
bugged sysinstall, bsdlabel, zfs, gmirror - recept for disaster :)
Hello there! Here's my story, hopefully some of you won't follow my steps and avoid some troubles :) Yesterday I've decided that's about time to test zfs functionality on my home server PC (i386 FreeBSD 7.1-pre) . A couple of weeks ago I bought new desktop PC (with SATA), so I had a bunch of PATA disks from old one to use in server. Lucky me - there was 3 HDD at size 40GB -
2005 Nov 27
1
how to get ''zfs mount -a'' in some order?
I have several filesystems created from the pool; and some mountpoints are inside the others, e.g.: # zfs list NAME USED AVAIL REFER MOUNTPOINT nfsv4pool 15.5M 33.5G 98.5K /nfsv4pool nfsv4pool/KRB5_FS 1.87M 33.5G 1.87M /export/test/KRB5_FS nfsv4pool/NOSPC_FS 3.01M 0 3.01M /export/test/NoSPC_FS nfsv4pool/NOTSHARE_FS 105K 33.5G 105K
2011 Nov 16
1
Deleting a mailbox and all its children
I'm looking at scripting a mechanism to delete a mailbox, which is easy with 'doveadm mailbox delete' -- however it gets complicated when there are children of arbitrary depth, for example, I may have this: restored.daily1.INBOX restored.daily1.Sent restored.daily1.Mystuff restored.daily1.Mystuff.foo I would like to delete the 'restored' mailbox and all its children (and
2012 Aug 01
1
How to trigger automount of USB drives in Centos6
In brief: Is there is anyway to trigger the same automount mechanism, that X appears to use, on unmounted USB drives that are already connected? Background: I've got a C6 server with default desktop GUI installed for the sake of the onsite admin. There is a bash script I wrote that runs every night checking for specific folders on any drive and dumps data into it. To ensure fs integrity, I