Re: [zfs-discuss] No ACL inheritance with aclmode=passthrough in onnv-134
2010/10/25 Cindy Swearingen cindy.swearin...@oracle.com: You can't simulate the aclmode-less world in the upcoming release by setting aclmode to discard in b134. The reason you see your aclmode discarded because aclmode applies to both chmod operations and file/dir create operations. Yes, after re-reading the docs I'd seen that. Must have missed that part before. This is why you are seeing the ACL being discarded. It does not do this in build 147. Looking forward! ;) Thanks! -f ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Clearing space nearly full zpool
On Mon, Oct 25, 2010 at 4:57 PM, Cuyler Dingwell cuy...@gmail.com wrote: It's not just this directory in the example - it's any directory or file. The system was running fine up until it hit 96%. Also, a full scrub of the file system was done (took nearly two days). -- I'm just stabbing in the dark here, but are you certain /tank/directory_to_clear is not a separate dataset visible with zfs list -t filesystem -- - Tuomas ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Running on Dell hardware?
On Tue, Oct 26, 2010 at 08:06:53AM +1300, Ian Collins wrote: On 10/26/10 01:38 AM, Edward Ned Harvey wrote: From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Ian Collins Sun hardware? Then you get all your support from one vendor. +1 Sun hardware costs more, but it's worth it, if you want to simply assume your stuff will work. In my case, I'd say the sun hardware was approx 50% to 2x higher cost than the equivalent dell setup. I find that claim odd. When ever we bought kit down here in NZ, Sun has been the best on price. Maybe that's changed under the new order. Add about 50% to the last price list from Sun und you will get the price it costs now ... Have fun, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Running on Dell hardware?
Add about 50% to the last price list from Sun und you will get the price it costs now ... Seems oracle does not want to sell its hardware so much, several month delays with sales rep providing prices and pricing nowhere close to its competitors. Yours Markus Kovero ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Basic ACL usage in group environment
Yes, if you set up the directory ACLs for inheritance (include :fd: when you specify the ACEs), the ACLs on copied files will be inherited from the parent folder (probably best not to use cp -p). Alan Alan, thank you for the response. For my example, I have two users that need to share files, candida and andy. I've created both users andy and candida, I've created a finance group I've added andy and candida to the 'finance' group I've created /srv/Finance directory I've set: chown candida:finance /srv/Finance I've then done: /bin/chmod g+s /srv/Finance Then I've done: /bin/chmod A=owner@:full_set:fd:allow,group@:full_set:fd:allow,everyone@:read_set:fd:allow Finance When I touch files in the Finance folder they don't seem to inherit the group's Full Set. The user candida can read but not edit files I make as the user andy. what am I doing wrong? is it a umask thing? my umask is 0022, and I thought ACL's override umask. Please help my confusion :) -Andy ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Newbie question : snapshots, replication and recovering failure of Site B
Hi, I'm planning to use the replication scripts on that page : http://www.infrageeks.com/groups/infrageeks/wiki/8fb35/zfs_autoreplicate_script.html It uses the timeslider (other way possible) to take snapshots, uses zfs send/receive to replicate and another script for cleaning up the old snapshots. My question : in the event that there's no more common snapshot between Site A and Site B, how can we replicate again ? (example : Site B has a power failure and then Site A cleanup his snapshots before Site B is brought back, so that there's no more common snapshots between the sites). I'm thinking of using OpenSolaris for my 30TB storage (replicated to another 30TB). If a situation like this happens, will I need to erase eveything in Site B, and start all over again ? Or is there another more efficient (faster) way ? How ? Thank you -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Clearing space nearly full zpool
No datasets in the pool. As another data point I've been slowing trying to clear things out but eventually the IO operations hang. Pool Free Dir UsedFile Used File ... 189,238,526 44,771,026 102,413 FileName.part103.rar 189,238,526 44,668,613 102,413 FileName.part104.rar 189,238,526 44,566,201 102,413 FileName.part105.rar 189,238,526 44,463,788 102,413 FileName.part106.rar 189,238,526 44,361,376 102,413 FileName.part107.rar 189,238,526 44,258,963 102,413 FileName.part108.rar 189,238,526 44,156,551 102,413 FileName.part109.rar 189,238,526 44,054,138 102,388 FileName.part110.rar 189,238,526 43,951,750 102,413 FileName.part111.rar 189,238,526 43,849,338 102,413 FileName.part112.rar 189,238,526 43,746,925 102,413 FileName.part113.rar 189,238,526 43,644,513 102,413 FileName.part114.rar 189,238,788 43,542,100 102,414 FileName.part115.rar 189,240,308 43,439,686 102,413 FileName.part116.rar 189,242,745 43,337,274 102,413 FileName.part117.rar 353,519,874 43,234,854 102,413 FileName.part118.rar After this one the console isn't responding. This is the only operation I have on the file system since the reboot this morning. Checking the io statistics the pool is getting accessed, I just have no idea what it's doing. u...@server:/opt/DTT# zpool iostat tank 5 5 capacity operationsbandwidth poolalloc free read write read write -- - - - - - - tank6.95T 320G164 20 360K 45.5K tank6.95T 320G 67 0 148K 0 tank6.95T 320G 71 0 153K 0 tank6.95T 320G 70 0 151K 0 tank6.95T 320G 69 0 149K 0 -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Moving the 17 zones from one LUN to another LUN
Hi Team, There 17 zones on the machine T5120. I want to move all the zones which are ZFS filesystem to another new LUN. Can you give me the steps to proceed this. Regards, Bhanu ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Running on Dell hardware?
On Tue, Oct 26, 2010 at 12:50:16PM +, Markus Kovero wrote: Add about 50% to the last price list from Sun und you will get the price it costs now ... Seems oracle does not want to sell its hardware so much, several month delays with sales rep providing prices and pricing nowhere close to its competitors. Yeah, no more Sun hardware for us, either. Mostly Supermicro, Dell, HP. -- Eugen* Leitl a href=http://leitl.org;leitl/a http://leitl.org __ ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] How do you use 1 partition on x86?
Hi Bill, Do you have another equivalent sized disk available? If so, and assuming this is the root pool, create one large slice 0 (s0) with an SMI label on the replacement disk. Attach that disk to create a mirrored root pool. After the replacement disk has resilvered, install the bootblocks, and test that you can boot from the replacement disk. When you're booted from the replacement disk, detach the original c7t0d0 disk. If this is a current release, repartition c7t0d0s0 to use the entire disk in slice 0 and reattach to create a mirrored root pool. Thanks, Cindy On 10/25/10 07:55, Bill Werner wrote: So when I built my new workstation last year, I partitioned the one and only disk in half, 50% for Windows, 50% for 2009.06. Now, I'm not using Windows, so I'd like to use the other half for another ZFS pool, but I can't figure out how to access it. I have used fdisk to create a second Solaris2 partition, did a re-con reboot, but format still only shows the 1 available partition. How do I used the second partition? selecting c7t0d0 Total disk size is 30401 cylinders Cylinder size is 16065 (512 byte) blocks Cylinders Partition StatusType Start End Length% = == = === == === 1 Other OS 0 4 5 0 2 IFS: NTFS 5 19171913 6 3 ActiveSolaris2 1917 1497113055 43 4 Solaris2 14971 3017015200 50 format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c7t0d0 DEFAULT cyl 13052 alt 2 hd 255 sec 63 /p...@0,0/pci1028,2...@1f,2/d...@0,0 Thanks for any idea. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Moving the 17 zones from one LUN to another LUN
On Tue, Oct 26, 2010 at 9:40 AM, bhanu prakash bhanu.sys...@gmail.com wrote: Hi Team, There 17 zones on the machine T5120. I want to move all the zones which are ZFS filesystem to another new LUN. Can you give me the steps to proceed this. If the only thing on the source lun is the pool that contains the zones and the new LUN is at least as big as the old LUN: zpool replace pool oldlun newlun The above can be done while the zones are booted. Depending on the characteristics of the server and workloads, the workloads may feel a bit sluggish during this time due to increased I/O activity. If that works for you, stop reading now. In the event that the scenario above doesn't apply, read on. Assuming all the zones are under oldpool/zones, oldpool/zones is mounted at /zones, and you have done zpool create newpool newlun Be sure to test this procedure - I didn't! zfs create newlun/zones # optionally, shut down the zones zfs snapshot -r oldpool/zo...@phase1 zfs send -r oldpool/zo...@phase1 | zfs receive newpool/zo...@phase1 # If you did not shut down the zones above, shut them down now. # If the zones were shut down, skip the next two commands zfs snapshot -r oldpool/zo...@phase2 zfs send -rI oldpool/zo...@phase1 oldpool/zo...@phase2 \ | zfs receive newpool/zo...@phase2 # Adjust mount points and restart the zones zfs set mountpoint=none oldpool/zones zfs set mountpoint=/zones newpool/zones for zone in $zonelist zoneadm -z $zone boot ; done At such a time that you are comfortable that the zone data moved over ok... zfs destroy -r oldpool/zones Again, verify the procedure works on a test/lab/whatever box before trying it for real. -- Mike Gerdts http://mgerdts.blogspot.com/ ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Basic ACL usage in group environment
Hi Andy, What is the setting for the aclinherit property? I think you want to set this property to passthrough. Thanks, Cindy On 10/26/10 07:25, Andy Graybeal wrote: Yes, if you set up the directory ACLs for inheritance (include :fd: when you specify the ACEs), the ACLs on copied files will be inherited from the parent folder (probably best not to use cp -p). Alan Alan, thank you for the response. For my example, I have two users that need to share files, candida and andy. I've created both users andy and candida, I've created a finance group I've added andy and candida to the 'finance' group I've created /srv/Finance directory I've set:chown candida:finance /srv/Finance I've then done:/bin/chmod g+s /srv/Finance Then I've done: /bin/chmod A=owner@:full_set:fd:allow,group@:full_set:fd:allow,everyone@:read_set:fd:allow Finance When I touch files in the Finance folder they don't seem to inherit the group's Full Set. The user candida can read but not edit files I make as the user andy. what am I doing wrong? is it a umask thing? my umask is 0022, and I thought ACL's override umask. Please help my confusion :) -Andy ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Basic ACL usage in group environment
On 10/26/10 06:25 AM, Andy Graybeal wrote: Yes, if you set up the directory ACLs for inheritance (include :fd: when you specify the ACEs), the ACLs on copied files will be inherited from the parent folder (probably best not to use cp -p). Alan Alan, thank you for the response. For my example, I have two users that need to share files, candida and andy. I've created both users andy and candida, I've created a finance group I've added andy and candida to the 'finance' group I've created /srv/Finance directory I've set: chown candida:finance /srv/Finance I've then done: /bin/chmod g+s /srv/Finance Then I've done: /bin/chmod A=owner@:full_set:fd:allow,group@:full_set:fd:allow,everyone@:read_set:fd:allow Finance When I touch files in the Finance folder they don't seem to inherit the group's Full Set. The user candida can read but not edit files I make as the user andy. I suspect you want aclinherit=passthrough Alan what am I doing wrong? is it a umask thing? my umask is 0022, and I thought ACL's override umask. Please help my confusion :) -Andy ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss