
H-8
Sun StorEdge 3000 Family Installation, Operation, and Service Manual • March 2004
H.8
Mounting the File System Automatically
You can label the partition so that it can be entered in the
fstab
file for mounting
the partition automatically at bootup. The use of the label and
fstab
file is a faster
operation than mounting the file system manually with a device path.
1. Type the following command to add a label to the partition:
where
x
is 1 for this partition and
directory-path
is the directory that was created and
its location.
2. Edit the
/etc/fstab
file and add the following line:
3. Save the file.
4. To check to see if
fstab
was set up correctly, type:
If the mount point and the
fstab
file are correctly set up, no errors appear.
5. To verify that the file system is mounted and list all mounted file systems, type:
6. To unmount the file system, type:
e2label /dev/sdb(
x
) /
directory-path
LABEL=/mount/point /mount/point ext3
1 2
mount -a
df -k
umount /
filesystem-name
Summary of Contents for StorEdge 3000 Series
Page 14: ...xiv Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 18: ...xviii Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 38: ...1 12 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 48: ...2 10 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 54: ...3 6 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 140: ...5 62 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 180: ...7 32 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 208: ...8 28 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 242: ...B 28 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 252: ...D 8 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 270: ...G 12 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 280: ...H 10 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...
Page 312: ...K 10 Sun StorEdge 3000 Family Installation Operation and Service Manual March 2004 ...