18.07.2013 Views

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

Sidewinder G2 6.1.2 Administration Guide - Glossary of Technical ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix F: Basic Troubleshooting<br />

Restoring system files<br />

644<br />

Follow these steps to restore files on the <strong>Sidewinder</strong> <strong>G2</strong>:<br />

Caution: If you are restoring the root (/) file system, DO NOT restore the /shlib<br />

directory, which contains shared libraries. If you restore this directory, the system<br />

will hang and you will not be able to reboot it. To restore this file system, first use<br />

the add command to restore all files. Then use the delete command to delete the<br />

/shlib directory from the list <strong>of</strong> files. Extract the files as usual.<br />

1 Attach a keyboard and monitor directly to your <strong>Sidewinder</strong> <strong>G2</strong> and reboot.<br />

If your system has multiple keyboard/monitor connection ports, you must<br />

attach the keyboard and monitor into the same keyboard/monitor connection<br />

port pair (that is, attach both items either to the front connection ports<br />

or the back connection ports).<br />

2 Reboot the system to the Administrative kernel by entering the following<br />

command:<br />

shutdown -g now<br />

3 Press Enter when asked whether to check and mount all file systems. The<br />

system prompt will appear.<br />

If you have enabled authentication for the administrative kernel, you will be<br />

prompted to log in before the system prompt appears.<br />

4 Insert your backup DAT into the tape drive. Use the DAT on which you<br />

backed up your files.<br />

5 Type df to display the file system on the current <strong>Sidewinder</strong> <strong>G2</strong>.<br />

Important: The file system on the current <strong>Sidewinder</strong> <strong>G2</strong> may not reflect the<br />

order in which the file systems were backed up on a back up tape.<br />

For example, the output might look like this:<br />

Filesystem 512-blocks Used Avail Capacity Mounted on<br />

/dev/sd0a 21150 14392 4642 76% /<br />

/dev/sd0d 123903 86320 25192 77% /var<br />

/dev/sd0e 123903 86320 25192 77% /var/log<br />

/dev/sd0g 3837972 939306 2514868 27% /usr<br />

/dev/sd1a 4047224 2131220 1511280 59% /home<br />

6 Use the cd command to switch to the appropriate directory.<br />

Switch to the directory shown in the “Mounted on” column, as shown in the<br />

previous step.<br />

7 Position the tape and invoke the restore script by entering the following<br />

command.<br />

/etc/backups/do.restore filenum<br />

Note: You must enter this command for each file system that you want to<br />

restore.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!