lkml.org 
[lkml]   [1999]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectMultiple swap partitions listed wrong
Hi.  I have Linux 2.2.8, and multiple swap partitions, 1 on each of 2 drives.
The swap partitions are different sizes, but appear to be the same size, as
indicated by swapon -s, and /proc/swaps, as shown below.

Please let me know if I have something wrong on my end (I've checked everything
I could think of), or if this is a bug.

Rob

--

[root@orange linux]# swapon -s
Filename Type Size Used Priority
/dev/hda5 partition 72256 2304 1
/dev/hdc2 partition 72256 2328 1
[root@orange rob]# fdisk /dev/hda

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
...
/dev/hda5 512 520 72261 82 Linux swap
...

Command (m for help): q

[root@orange rob]# fdisk /dev/hdc

Command (m for help): p

Disk /dev/hdc: 128 heads, 63 sectors, 620 cylinders
Units = cylinders of 8064 * 512 bytes

Device Boot Start End Blocks Id System
...
/dev/hdc2 78 94 68544 82 Linux swap
...

Command (m for help): q

[rob@orange rob]$ cat /proc/swaps
Filename Type Size Used Priority
/dev/hda5 partition 72256 2232 1
/dev/hdc2 partition 72256 2248 1
[root@orange rob]# uname -a
Linux orange.isacolor 2.2.8 #8 Tue May 11 20:08:35 CDT 1999 i586 unknown
[root@orange rob]#

--
------------------------------------------------------------------------
Robert Ekl Phone: (847) 576-3812
Motorola, Inc. Fax: (847) 538-4315
Private Network Management E-Mail: roberte@tt.comm.mot.com
------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site