/dev/sdb
, my main hard disk, instead of /dev/sdc
, the compact flash card. Like, oops. I don’t know exactly which operations gummed up /dev/sdb
, which would be good to know. But I don’t, so let us carry on.ctrl+alt+delete
, or make it behave like Windows and open a services manager. I make sure that it is enabled and that it reboots the system. I booted into a different Linux installation and pondered how to make repairs. When your partition table is damaged to the point that your Linux will not boot, you have to fix it from the outside of the damaged system via bootable rescue media, or another Linux in a multi-boot installation. SystemRescueCD on a USB stick is my fave. Any *buntu live system also makes a great rescue distro, especially on a USB stick with persistent storage, because then it remembers your settings, you can install apps, and store documents./dev/sdb
is the broken one. In the next screen we select the partition type:/home/carla/carla
. I couldn’t find out if this is the correct behavior, but I got my files back.Sun Fire X4540 Server Linux and Solaris OS Installation Guide |
C H A P T E R 8 |
Installing and Booting an OS on Compact Flash |
Note - If you have multiple servers logging to the NFS server, each server should have a separate directory. This will reduce file-locking related problems and simplify log analysis. |
To Redirect Log Output to an NFS Share |
Note - There are some security implications when logging over a network with syslog, especially over an untrusted network, because syslog uses UDP to send log messages. If this is an issue in your implementation, consider replacing syslog with syslog-ng. syslog-ng can do remote logging via TCP and you can use it over an SSH tunnel or VPN. |
Tip - You might also want to implement firewall rules to restrict which hosts are allowed to log to your log server. |
To Redirect Log Output Over the Network Using syslogd |
Note - The remote log server must have syslogd running with the -r flag. |
Tip - Since many daemons can be configured to redirect their logging output to syslog, you can tune your system further by redirecting many of the other log files that are generated on your system. |
Note - If you receive errors when trying to log to a remote server, ensure that your Linux distribution has started syslog after the network was brought up. |
Caution - A RAMdisk uses volatile memory. Information stored in a RAMdisk will not survive a reboot or power outage. Additionally, RAMdisks decrease the total available memory. |
To Move /tmp to tmpfs |
Note - Swapping to a disk that you also use for data storage can increase the number of seeks that disk performs and therefore increase latency for that disk. |
To Configure Swap to External Storage Post-Installation |
Note - This procedure assumes that you are starting from a blank disk. |
Note - The general rule of thumb is that swap space should be 2 times your RAM size. |
To Disable Swap by Editing the vfstab File |
Note - Do not comment out the two lines in /etc/vfstab that start with the SWAP keyword, as those are for /tmp and /var/tmp, and not related to the actual swap device specification. |
To Disable Swap using the swap Command |
To Configure a Dedicated Dump Device |
To Move Temporary Files to RAMdisk |
Note - To manually move /var/tmp to tmpfs use the mount command: mount -F tmpfs swap/var/tmp |
Caution - Disabling file atimemay result in unpredictable behavior with some applications that depend on atime updates to function properly. |
To Disable File System Access Time Updates for ZFS |
To Disable File System Access Time Updates for UFS |
Note - In the example above, the swap line in /etc/vfstab has been commented out intentionally to disable swap. |
Tip - If you have a machine configured to receive log messages for other hosts, consider allowing the machine with the root CF device log to this remote host. |
To Configure Remote Logging |
Sun Fire X4540 Server Linux and Solaris OS Installation Guide | 820-4893-13 |