A short ramdisk & ZFS anecdote

In a status meeting one day, Jim Mauro was lamenting that his storage system kept breaking when he was trying to do ZFS performance testing. Later I dropped him a note suggesting using a ramdisk instead. Clearly, ramdisks are not persistent storage, so they aren't really usable for those things you wish to keep. But for exploring features of file systems, they can be quite handy.

# ramdiskadm -a whee 100m

# zpool create demo /dev/ramdisk/whee

# zfs create demo/forgetme

# zfs set mountpoint=/forgetme demo/forgetme



Now we can explore ZFS without actually using disk space. This might come in handy, if you don't care about the volatility of the data.



Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

relling

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