Changes between Version 14 and Version 15 of Installation/VM


Ignore:
Timestamp:
Jan 8, 2013 1:28:39 PM (7 years ago)
Author:
jhickey
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation/VM

    v14 v15  
    2727=== Users Image Notes ===
    2828
    29 The users image contains two disk images.  One is for the main operating system and the other is for NFS exported filesystems.  These are kept separate in order to make it easy for sites to deploy a bigger NFS export filesystem.  You may want to replace the second image with a larger image.
     29The users image contains two disk images.  One is for the main operating system and the other is for NFS exported filesystems.  These are kept separate in order to make it easy for sites to deploy a bigger NFS export filesystem.  You may want to replace the second image with a larger image.  Here are the steps used to setup the original /big disk (which is 80GB).  Make sure to pay attention to the device you are setting up.  If you are adding a third disk to replace the existing big, you will probably be dealing with 'da2': 
     30
     31{{{
     32root@users:/root # dmesg | tail
     33da1 at mpt0 bus 0 scbus2 target 1 lun 0
     34da1: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
     35da1: 320.000MB/s transfers (160.000MHz DT, offset 127, 16bit)
     36da1: Command Queueing enabled
     37da1: 81920MB (167772160 512 byte sectors: 255H 63S/T 10443C)
     38root@users:/root # gpart create -s gpt /dev/da1                                                                                                                                                                                       
     39da1 created
     40root@users:/root # gpart add -t freebsd-ufs da1
     41da1p1 added
     42root@users:/root # tunefs -j enable /dev/da1p1
     43Using inode 4 in cg 0 for 33554432 byte journal
     44tunefs: soft updates journaling set
     45root@users:/root # vim /etc/fstab
     46root@users:/root # mount /big
     47root@users:/root # df -h
     48Filesystem    Size    Used   Avail Capacity  Mounted on
     49/dev/da0p2     73G     11G     56G    16%    /
     50devfs         1.0k    1.0k      0B   100%    /dev
     51/dev/da1p1     77G     32M     71G     0%    /big
     52root@users:/root #
     53}}}
    3054
    3155The users image is also configured with 'tinyproxy' which will allow isolated testbed nodes to fetch packages via HTTP.  The configuration is /usr/local/etc/tinyproxy.conf.   The proxy should be configured to only listen to requests coming from the control network.