Log in

No account? Create an account
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

debootstrap [Mar. 11th, 2004|10:01 am]
Brad Fitzpatrick
Rebuilt my desktop computer tonight, but preserving the old image just in case. So easy when you're netbooting!

Before my machine booted off and my mp3 player booted off /home/diskless/enty.

So, wanting to start fresh:

- mkdir /home/diskless/papag-2
- debootstrap sarge /home/diskless/papag-2
- add to /etc/exports
- restart my desktop.

So fucking easy. Why didn't I think of this before?

And now all my random configuration problems that have built up over the years are gone.

My next goal is to put my root filesystem on an ENBD block device, rather than NFS. (since it's not shared) Then just my /raid export (with media files and my $HOME) will be NFS.

[User Picture]From: brad
2004-03-12 11:10 am (UTC)
NFS: assumes it's shared. assumes files can change any any time. has to do NFS mangling, then network, then server has to do filesystem mangling. only the server can do real block-layer caching.

enbd: the server's doing way less work (just passing read/writes), the client's not sharing the device, so it knows exactly when things are dirty or not (doesn't have to assume files/dirs are untouched for 3 seconds, then force a round-trip to ask), only one participant is going through filesystem code (the client)

We run one LJ database over iSCSI (which is kinda like [e]nbd)... not bad at all.
(Reply) (Parent) (Thread)