swap
Hi,
I have added a new disk to production server. How to make it visible to os and how to configure it. I also want to add some space from that disk to swap space. Please help me out. |
What is your Linux distribution (e.g. RHEL, Suse, Ubuntu etc...) and version?
What is your current disk configuration? (e.g. partitions, logical volumes, metadisks) Providing a "df -h" output would be helpful. How much swap do you currently have? (Run "swapon -s"). How much memory do you have? (Run "free" to get an approximate amount.) How much swap do you want to add? Why do you want to add swap? |
Quote:
http://www.thegeekstuff.com/2010/08/...dd-swap-space/ As MensaWater pointed out, you don't provide any details about your setup, so we can't be specific. Also, if you took your RHCE three years ago, shouldn't you know such things? |
The new disk can be visible to OS (Redhat,Fedora & CentOS) by running, echo - - - > /sys/class/scsi_host/host0/scan & new partition will be visible in fdisk -l or cat /proc/partition.Also first you have to create a partion from your new disk & then space partion/file will be created through mkswap & swapon
|
Quote:
|
The same can also be checked or scanned for new disk if they are not visible to the OS & this is not necessary that for this LVM is required as the mentioned command is used for scanning the added disk if they are not visible without reboot.
|
Quote:
Quote:
|
All times are GMT -5. The time now is 12:54 AM. |