I've got my space back

When I got my Ultra 20 I decided to continue living on the bleeding edge and make a contribution to quality in Solaris Express.
That, of course, means ZFS Root.

So I followed the instructions on Tabriz' and Tim Foster's blogs, and quickly wound up with a zfs-rooted system.

All well and good until I noticed that a lot of my disk space had disappeared.


Itturns out that I was suffering from two issues:

6420204 root filesystem's delete queue is not running and
6436526 delete_queue thread reporting drained when it may not be true

So the first workaround was the re-set the "readonly" flag to "off" and see how well it worked. Turns out that that wasn't quite enough, I only got about 2gb back. Then a little while later Mark Shellenbaum putback his fix for 6436526, so I bfu'd to that.
One of the things that --- at this point --- you have to remember to do with ZFS Root is to copy your new boot archive from the ZFS Root environment to your ufs boot partition. It took me two reboots to remember that :(

So once I'd got the correct module installed and booted, I had about 7 hours of downtime as a lot of my delete queue got flushed. I had to reboot several times because my disk decided it couldn't cope with the load, and also because the delete queue managed to trip over some assertions in the vm code. (Some pathetic reason like ASSERT(proc_pageout != NULL);.....)

And that was all cool.

BUT there was more to come. While chatting with Mark in the ZFS irc room he mentioned that Tabriz had a fix for 6420204 which involved adding a line to /lib/svc/method/fs-usr:

[ "$fstype" = zfs ] && mntopts="${mntopts},rw"



So I did that, and rebooted..... lo and behold, there was more stuff in the delete queue which needed to be taken care of. After another 10 hours and 8 panics my ZFS Root partition is finally back to using the expected 7% rather than 70+%.

Life is good and all seems good with the world.



Technorati Tags: , ,
Comments:

Sounds like ZFS is extremely user-friendly and easy to use.

Posted by Lady Godiva on July 05, 2006 at 11:03 AM EST #

Post a Comment:
Comments are closed for this entry.
About

I work at Oracle in the Solaris group. The opinions expressed here are entirely my own, and neither Oracle nor any other party necessarily agrees with them.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today