LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   added HDD in linux services failed to turn on swap (https://www.linuxquestions.org/questions/linux-server-73/added-hdd-in-linux-services-failed-to-turn-on-swap-472164/)

krishna_kawhale 08-08-2006 10:14 PM

added HDD in linux services failed to turn on swap
 
We have red hat 9 linux workstation, i have added one hdd but system gave error massage swapon failed.

kindly help

krishna

reddazz 08-08-2006 11:26 PM

Can you provide more info e.g. contents of your /etc/fstab and details of the exact partition that you have set aside for swap.

krishna_kawhale 08-09-2006 10:56 PM

Swap problem resolved
 
Quote:

Originally Posted by reddazz
Can you provide more info e.g. contents of your /etc/fstab and details of the exact partition that you have set aside for swap.

Sir,

Swap problem resolved by using ln command i have just liked the swap area as under :-

1. Login - root
2. fdisk - shown the partition table
2. ln - just given command to link the hda
alloted to swap
syntax - ln -s /dev/hda6 /dev/swap

krishna

krishna_kawhale 08-09-2006 10:58 PM

Swap problem resolved
 
Quote:

Originally Posted by reddazz
Can you provide more info e.g. contents of your /etc/fstab and details of the exact partition that you have set aside for swap.

Sir,

Swap problem resolved by using ln command i have just liked the swap area as under :-

1. Login - root
2. fdisk - shown the partition table
2. ln - just given command to link the hda
alloted to swap
syntax - ln -s /dev/hda6 /dev/swap

krishna


All times are GMT -5. The time now is 03:51 AM.