Virtual TapeServer 6.04.01 Operations and Administration Guide
| 175
/dev/cciss/c0d0p2 26 2595 10485600 83 Linux
/dev/cciss/c0d0p3 2596 3109 2097120 83 Linux
/dev/cciss/c0d0p4 3110 8709 22848000 83 Linux
If c0d0p3 is listed as “Linux”, you must complete the following steps to change the
partition type. If the type is listed as “Linux swap”, skip to the next step.
a. Run the fdisk command for the drive containing the swap partition. Here is an
example:
fdisk /dev/cciss/c0d0
b. For Command, enter t for type.
c. Enter the partition number (3 in the example above).
d. For Hex code, enter 82 as the new type.
e. To save the configuration, enter w.
f. Rerun fdisk to verify that the change was saved. Here is an example:
fdisk -l /dev/cciss/c0d0
Here is an example of the output:
Disk /dev/cciss/c0d0: 36.3 GB, 36385505280 bytes
255 heads, 32 sectors/track, 8709 cylinders Units = cylinders of
8160 * 512 = 4177920 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
/dev/cciss/c0d0p2 26 2595 10485600 83 Linux
/dev/cciss/c0d0p3 2596 3109 2097120 82 Linux swap / Solaris
/dev/cciss/c0d0p4 3110 8709 22848000 83 Linux
Note that c0d0p3 is now listed as “Linux swap / Solaris”.
8. Verify that VAULT00 is enabled. VAULT00 is used to store the backup image that is
created during the upgrade.
a. Verify that /VAULT00 is not mounted by entering the df command. Here is an
example of the output:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p2 10321048 2866660 6930108 30% /
/dev/cciss/c0d0p1 98747 28817 64831 31% /boot
none 512704 0 512704 0% /dev/shm
b. Modify /etc/fstab to uncomment the VAULT00 entry. Here is an example of the file:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cciss/c0d0p3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
LABEL=/VAULT00 /VAULT00 ext3 defaults 1 3
Note that if /VAULT00 is not labeled, the entry may be listed as follows:
/dev/cciss/c0d0p4 /VAULT00 ext3 defaults 1 3