| Version 2 (modified by , 19 years ago) ( diff ) |
|---|
(1) The drives generally arrive with fat32 file systems, when first attaching the drive, allow the workstation to mount the drive. Then unmount ether by right-clicking over the drive icon on the desktop and selecting 'eject/unload' or issue the umount /media/(drive) command.
(2) To locate the disk/block device:
cat /proc/partitions major minor #blocks name 8 0 78125000 sda 8 1 192748 sda1 8 2 77931315 sda2 254 0 1048576 dm-0 254 1 10485760 dm-1 254 2 8388608 dm-2 254 3 10485760 dm-3 254 4 26214400 dm-4 254 5 77931315 dm-5 254 6 1048576 dm-6 254 7 26214400 dm-7 254 8 10485760 dm-8 254 9 10485760 dm-9 254 10 8388608 dm-10 254 11 192748 dm-11 8 16 244198584 sdb 8 17 244196001 sdb1 * On most of our single (internal) drive workstations, the drive will show up as device sdb. Note the size of the drive (244198584) for identification.
(3) create the filesystem and label:
sudo mkfs -t ext3 -L calusb /dev/sdb
(4) re-attach the drive to the workstation, Ubuntu will automount the drive. Create the scratch area and make the folder accessible by all:
cd /media/calusb sudo mkdir /scratch sudo chmod 777 /scratch
Note:
See TracWiki
for help on using the wiki.
