Re: error enabling swap space device hda3. No such fileordirectory.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for trying to help.

After checking the commands I issued:

swapoff -a
mkswap /dev/hda3
swapon -a

command free shows:

             total       used       free     shared    buffers    
cached
Mem:       1030468     359756     670712          0      21584    
143136
-/+ buffers/cache:     195036     835432
Swap:      1020116          0    1020116

Since memory is ony 1/3 used I am guessing that swap space will
remain empty. 

Thanks,

Evan
>
>
>---- Original Message ----
>From: fab@xxxxxxxxxxxx
>To: epanagio@xxxxxxxxxxxxxx
>Subject: Re: error enabling swap space device hda3. No such
>fileordirectory.
>Date: Mon, 30 May 2005 22:23:26 +0400
>
>>The output of 'free' shows that swap space is enabled. However it
>shows 
>>that swap space is not used. Usually the contents of memory of the 
>>processes which are idle for some time goes to swap and, therefore,
>some 
>>amount of swap space is almost always used.
>>I think that you should reinitialize swap space. There is no need to
>use 
>>command line options of the 'swapon' command, just use 'swapon
>/dev/hda3'.
>>
>>Alexey Fadyushin.
>>Brainbench MVP for Linux.
>>http://www.brainbench.com
>>
>>
>>Evan Panagiotopoulos wrote:
>>
>>> Command free produced (I show only swap information):
>>> Swap:      1020116          0    1020116
>>> for total, used, and free.
>>> 
>>> The command will be: 
>>> 1 - swapoff -a
>>> 
>>> 2 - mkswap ?????
>>> 
>>> 3 - swapon -a
>>> 
>>> In my fstab the sawp is shown as:
>>> /dev/hda3     swap     swap    defaults        0 0
>>> 
>>> Evan
>>> 
>>> 
>>>>
>>>>---- Original Message ----
>>>>From: fab@xxxxxxxxxxxx
>>>>To: redhat-list@xxxxxxxxxx
>>>>Subject: Re: error enabling swap space device hda3. No such
>>>>file or directory.
>>>>Date: Sun, 29 May 2005 22:02:02 +0400
>>>>
>>>>
>>>>>It seems that the swap space works. I think that the installer 
>>>>>reinitialized the swap partition after giving you the message.
>>>>>Do you still receiving the message thet the swap partition can
>not
>>>>
>>>>be 
>>>>
>>>>>enabled? Do you able to see the swap space in the memory
>information
>>>>
>>>>>given by 'free'?
>>>>>Anyway, you can disable the swap space with 'swapoff'
>reinitialize
>>>>
>>>>it 
>>>>
>>>>>with 'mkswap' and enable it again with 'swapon'. It should
>eliminate
>>>>
>>>>the 
>>>>
>>>>>error you described.
>>>>>
>>>>>Alexey Fadyushin
>>>>>Brainbench MVP for Linux.
>>>>>http://www.brainbench.com
>>>>>
>>>>>Evan Panagiotopoulos wrote:
>>>>>
>>>>>
>>>>>>The output was formatted poorly. Here it is again:
>>>>>>
>>>>>>Filename /dev/hda3
>>>>>>Type partition
>>>>>>Size 1020116
>>>>>>Used 0 
>>>>>>Priority -1
>>>>>>
>>>>>>Thanks,
>>>>>>
>>>>>>Evan
>>>>>>
>>>>>>
>>>>>>>---- Original Message ----
>>>>>>>From: epanagio@xxxxxxxxxxxxxx
>>>>>>>To: redhat-list@xxxxxxxxxx
>>>>>>>Subject: RE: error enabling swap space device hda3. No such
>>>>>>>fileordirectory. 
>>>>>>>Date: Sun, 29 May 2005 11:26:22 -0400
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Here is the output
>>>>>>>>
>>>>>>>>swapon -s
>>>>>>>>Filename           Type            Size    Used    Priority
>>>>>>>>/dev/hda3          partition       1020116 0       -1
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>---- Original Message ----
>>>>>>>>>From: vkarasik@xxxxxxx
>>>>>>>>>To: redhat-list@xxxxxxxxxx
>>>>>>>>>Subject: RE: error enabling swap space device hda3. No such
>file
>>>>>>>>>ordirectory. 
>>>>>>>>>Date: Sun, 29 May 2005 18:06:23 +0300
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>Please check if RHEL 3 uses hda3 as swap:
>>>>>>>>>>
>>>>>>>>>>Swapon -s
>>>>>>>>>>
>>>>>>>>>>Rgds,
>>>>>>>>>>Vitaly
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>-----Original Message-----
>>>>>>>>>>>From: redhat-list-bounces@xxxxxxxxxx 
>>>>>>>>>>>[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Evan 
>>>>>>>>>>>Panagiotopoulos
>>>>>>>>>>>Sent: Saturday, May 28, 2005 5:39 PM
>>>>>>>>>>>To: redhat-list@xxxxxxxxxx
>>>>>>>>>>>Subject: error enabling swap space device hda3. No such
>file 
>>>>>>>>>>>or directory. 
>>>>>>>>>>>
>>>>>>>>>>>I am trying to upgrade from EL 3 to EL 4. I tested the 4
>CDs 
>>>>>>>>>>>and they are OK. I select the Upgrade option and press OK
>and 
>>>>>>>>>>>I see the
>>>>>>>>>>>following:
>>>>>>>>>>>
>>>>>>>>>>>error enabling swap space device hda3. No such file or
>>>>>>>
>>>>>>>directory.
>>>>>>>
>>>>>>>
>>>>>>>>>>>This most likely means this swap partition has not been
>>>>>>>>>
>>>>>>>>>initialized.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>>Press OK to reboot.
>>>>>>>>>>>
>>>>>>>>>>>Any ideas?
>>>>>>>>>>>
<snip>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux