Changes between Initial Version and Version 1 of Procedures/EndUserDelivery/HardDisk/ext3


Ignore:
Timestamp:
Aug 2, 2011, 3:20:22 PM (13 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/EndUserDelivery/HardDisk/ext3

    v1 v1  
     1== Creating Linux format (ext3) disks ==
     2
     3This page describes how to create a linux ext3 format disk. ARSF-DAN switched to solely NTFS format disks in 2011, so these instructions should only be used for hyperspectral data prior to 2011.
     4
     5Partition and format the disk (command line)
     6 1. Run fdisk /dev/DEVICE_NAME (not partition)
     7 1. enter 'p' to print partition table and check you have selected the correct disk
     8 1. enter 'd' to delete the current partition (delete them all)
     9 1. enter 'n' to create a new partition
     10 1. enter 'p' to make new partition the primary partition. If it asks you to give a partition number press 1 and enter. Then press enter twice to fill the whole disk.
     11 1. enter 'p' to print new partition table – if all seems fine enter 'w' to write
     12 1. To be on the safe side, run dmesg again to make sure device name hasn't changed. You should now see the partition listed as device_name1, e.g. sdb1
     13 1. Unmount the partition if it remounted.
     14 1. Run `mke2fs -j /dev/partition`
     15
     16Remount and fix permissions:
     17 1. Unplug the disk and plug back in. The disk space should be located under /media/disk. It is wise to check that this destination is correct: 'df /media/disk' to check that this is where the device is mounted.
     18 1. Make writable for everyone using chmod a+rwx /media/disk
     19
     20== Copy over your data onto the disk ==
     21
     22Copy the delivery folder to /media/disk.
     23
     24== Finalising hard disk ==
     25
     26Set permissions and owner:
     27
     28chmod a+rX,a-w -R /media/disk [[BR]]
     29chown root.root -R /media/disk
     30
     31NOTE: Be sure to record the number of the hard disk (or giving it one if it does not yet have one) before packing it.