Changes

Jump to navigation Jump to search
1,012 bytes added ,  12:17, 23 April 2007
Line 185: Line 185:  
# mount the NFS share<br><code>mkdir -p /mnt/affadevice</code><br><code>mount 10.200.48.2:/mnt/affashare /mnt/affadevice</code>
 
# mount the NFS share<br><code>mkdir -p /mnt/affadevice</code><br><code>mount 10.200.48.2:/mnt/affashare /mnt/affadevice</code>
   −
===== Setup a USB drive =====
+
===== Alternatively setup a USB drive =====
...
+
# log into the 'prodbox'
 
+
# Connect a USB hard disk to the USB Bus. Now you must determine what device the kernel has assigned to the drive. View the /var/log/message and search for ''Initializing USB Mass Storage driver''. A few lines below you'll find the name of the device. In this example it is ''sdc''. Replace ''/dev/sdc'' by ''your device'' in following instructions.
 +
# Use the fdisk program to create a linux partition<br><code># fdisk /dev/sdc</code><br>You'll most likely find an existing vfat dos partition, which you have to delete first. In the following we assume, that you have created a single partition ''/dev/sdc1''.
 +
# Now format the drive with an ext3 filesystem<br><code>mkfs.ext3 /dev/sdc1</code>
 +
# Make the mount point<br><code># mkdir -p /mnt/affadevice</code>
 +
# Add the following line to the /etc/fstab<br><code>/dev/sdc1 /mnt/usbstick ext3 defaults</code>
 +
# Mount the drive<br><code>mount /mnt/affadevice</code>
 +
# Crosscheck your work using the df command<br><code># df</code>
    
===== Setup Affa =====
 
===== Setup Affa =====
501

edits

Navigation menu