mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Problem with swap partition.
  2002-05-19 16:04 Problem with swap partition David Eduardo Gomez Noguera
@ 2002-05-19 15:56 ` Christian Jaeger
  2002-05-19 16:42   ` David Eduardo Gomez Noguera
  2002-05-19 15:57 ` Darrell A. Escola
  2002-05-19 15:57 ` Tomas Szepe
  2 siblings, 1 reply; 5+ messages in thread
From: Christian Jaeger @ 2002-05-19 15:56 UTC (permalink / raw)
  To: David Eduardo Gomez Noguera, kernel

At 11:04 Uhr -0500 19.05.2002, David Eduardo Gomez Noguera wrote:
>The 3'rd partition is a Linux Swap,
>/dev/hdc3         77401     77545     73080   82  Linux swap

          ^^

>but swapon -a gives
>swapon: /dev/hdc5: Invalid argument

                  ^^

What about correct /etc/fstab entries? :)

BTW you have done a mkswap on the swap partition, did you?

Chj.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with swap partition.
  2002-05-19 16:04 Problem with swap partition David Eduardo Gomez Noguera
  2002-05-19 15:56 ` Christian Jaeger
@ 2002-05-19 15:57 ` Darrell A. Escola
  2002-05-19 15:57 ` Tomas Szepe
  2 siblings, 0 replies; 5+ messages in thread
From: Darrell A. Escola @ 2002-05-19 15:57 UTC (permalink / raw)
  To: David Eduardo Gomez Noguera; +Cc: linux-kernel

On Sun, May 19, 2002 at 11:04:57AM -0500, David Eduardo Gomez Noguera wrote:
> Hello.
> I have just changed to a new hard disk:
> 
> Disk /dev/hdc: 16 heads, 63 sectors, 77545 cylinders
> 
> Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
>  1 00   1   1    0  15  63   65       63    66465 83
>  2 00   0   1   66  15  63 1023    66528 77952672 83
>  3 00  15  63 1023  15  63 1023 78019200   146160 82
>  4 00   0   0    0   0   0    0        0        0 00
> 
> The 3'rd partition is a Linux Swap,
> /dev/hdc3         77401     77545     73080   82  Linux swap
> 
> but swapon -a gives
> swapon: /dev/hdc5: Invalid argument
> 

Is hcd5 in your /etc/fstab? - might need to change that to hdc3

Darrell

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with swap partition.
  2002-05-19 16:04 Problem with swap partition David Eduardo Gomez Noguera
  2002-05-19 15:56 ` Christian Jaeger
  2002-05-19 15:57 ` Darrell A. Escola
@ 2002-05-19 15:57 ` Tomas Szepe
  2 siblings, 0 replies; 5+ messages in thread
From: Tomas Szepe @ 2002-05-19 15:57 UTC (permalink / raw)
  To: David Eduardo Gomez Noguera; +Cc: kernel

> Disk /dev/hdc: 16 heads, 63 sectors, 77545 cylinders
> 
> Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
>  1 00   1   1    0  15  63   65       63    66465 83
>  2 00   0   1   66  15  63 1023    66528 77952672 83
>  3 00  15  63 1023  15  63 1023 78019200   146160 82
>  4 00   0   0    0   0   0    0        0        0 00
> 
> The 3'rd partition is a Linux Swap,
> /dev/hdc3         77401     77545     73080   82  Linux swap
> 
> but swapon -a gives
> swapon: /dev/hdc5: Invalid argument


$ vi /etc/fstab
(change 'hdc5' to 'hdc3'.)
$ mkswap /dev/hdc3 && swapon -a

and then please
$ man 5 fstab

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Problem with swap partition.
@ 2002-05-19 16:04 David Eduardo Gomez Noguera
  2002-05-19 15:56 ` Christian Jaeger
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Eduardo Gomez Noguera @ 2002-05-19 16:04 UTC (permalink / raw)
  To: kernel

Hello.
I have just changed to a new hard disk:

Disk /dev/hdc: 16 heads, 63 sectors, 77545 cylinders

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl    Start     Size ID
 1 00   1   1    0  15  63   65       63    66465 83
 2 00   0   1   66  15  63 1023    66528 77952672 83
 3 00  15  63 1023  15  63 1023 78019200   146160 82
 4 00   0   0    0   0   0    0        0        0 00

The 3'rd partition is a Linux Swap,
/dev/hdc3         77401     77545     73080   82  Linux swap

but swapon -a gives
swapon: /dev/hdc5: Invalid argument

its a 40Gb hd seagate ultra ata.

Is there any issue with them? (dont think so, since the other partitions
work ok). its a 2.4.17 .

ps. I dont know if i might be missing some kernel module.
-- 
ICQ: 15605359 Bicho
                                  =^..^=
First, they ignore you. Then they laugh at you. Then they fight you.
Then you win. Mahatma Gandhi.
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
恋にししょうなし。恋はしあんの他。
アン アン アン とっても大好き



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with swap partition.
  2002-05-19 15:56 ` Christian Jaeger
@ 2002-05-19 16:42   ` David Eduardo Gomez Noguera
  0 siblings, 0 replies; 5+ messages in thread
From: David Eduardo Gomez Noguera @ 2002-05-19 16:42 UTC (permalink / raw)
  To: kernel

On Sun, 2002-05-19 at 10:56, Christian Jaeger wrote:
> At 11:04 Uhr -0500 19.05.2002, David Eduardo Gomez Noguera wrote:
> >The 3'rd partition is a Linux Swap,
> >/dev/hdc3         77401     77545     73080   82  Linux swap
> 
>           ^^
> 
> >but swapon -a gives
> >swapon: /dev/hdc5: Invalid argument
> 
>                   ^^
> 
> What about correct /etc/fstab entries? :)
> 
> BTW you have done a mkswap on the swap partition, did you?
> 

God, am i stupid.

sorry about the mail.

(i had only make swap partitions once like two years ago, and forgot
about them)

-- 
ICQ: 15605359 Bicho
                                  =^..^=
First, they ignore you. Then they laugh at you. Then they fight you.
Then you win. Mahatma Gandhi.
-------------------------------気検体の一致------------------------------------
暑さ寒さも彼岸まで。
恋にししょうなし。恋はしあんの他。
アン アン アン とっても大好き



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-19 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-19 16:04 Problem with swap partition David Eduardo Gomez Noguera
2002-05-19 15:56 ` Christian Jaeger
2002-05-19 16:42   ` David Eduardo Gomez Noguera
2002-05-19 15:57 ` Darrell A. Escola
2002-05-19 15:57 ` Tomas Szepe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®