4-12
Sun StorEdge D2 Array Installation, Operation, and Service Manual • February 2002
▼
To Restore a File System (UNIX)
Use the following procedure to configure a slice (also known as a partition) on a
disk.
1. Verify that the device label meets your requirements.
You can use the
prtvtoc
command to inspect the label for your disk. To modify the
label, use the
format
command. See the
prtvtoc
(1M) and
format
(1M) man pages
for more information.
2. Ensure that the disk’s partitions match those of the file system(s) you intend to re-
create.
You can use the
prtvtoc
command to inspect the label for your device. If you need
to modify the disk layout, use the
format
command. Refer to the
prtvtoc
(1M) and
format
(1M) man pages for more information. For example:
If you have saved a copy of the disk’s partition table using the
format
utility and if
the replacement disk type matches the old disk type, then you can use the
format
utility's
partition
function to configure the partition table of the replacement disk.
See the
select
and
label
commands in the partition menu.
If the replacement disk is of a different type than the disk it replaced, you can use
the partition size information from the previous disk as a guideline when formatting
the partitions on the replacement disk.
3. After you have partitioned the disk, identify the disk slice on which to build the
file system.
4. Once you have selected a disk slice for the file system, use the
newfs
command to
create a file system on the slice:
5. Mount the new file system using the
mount
command:
where:
mount-point
is the directory on which the disk is mounted.
The new disk is ready to be used. You can now restore data onto the new disk from
backups of the failed disk.
#
prtvtoc /dev/rdsk/c
w
t
x
d
y
s
z
#
newfs /dev/rdsk/
c
w
t
x
d
y
s
z
#
mount
mount-point
Содержание StorEdge D2
Страница 10: ...x Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 50: ...2 12 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 92: ...4 28 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 98: ...B 2 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 104: ...B 8 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 114: ...B 18 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Страница 118: ...Index 4 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...