![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| swap partition showing mounted in df -h | pshelke | SUN Solaris | 1 | 02-14-2008 02:47 AM |
| How to give UUID to a swap partition? | Santi | Linux | 3 | 01-09-2008 06:59 AM |
| swap partition? | byblyk | Linux | 7 | 05-28-2004 01:44 PM |
| Linux Swap Partition | primal | UNIX for Dummies Questions & Answers | 2 | 01-07-2002 12:37 PM |
| Swap Partition Space | I[X]ION | UNIX for Dummies Questions & Answers | 1 | 08-24-2001 10:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Partition 1 swap not mounting ?
Hi,
running mount, I get the following, no part1 swap as part1 swap has been created and is listed below. System works fine anyway. As I cannot unmount part1, what is a standard procedure to make part1 on. Jack ============= .. [admin@oo root]$ free total used free shared buffers cached Mem: 30324 29532 792 0 4556 16084 -/+ buffers/cache: 8892 21432 Swap: 521968 0 521968 .. [admin@oo root]$ mkswap /dev/discs/disc0/part1 Setting up swapspace version 1, size = 534499328 bytes .. [admin@oo root]$ swapon /dev/discs/disc0/part1 swapon: /dev/discs/disc0/part1: Device or resource busy .. [admin@oo root]$ free total used free shared buffers cached Mem: 30324 29596 728 0 4604 16092 -/+ buffers/cache: 8900 21424 Swap: 521968 0 521968 [admin@oo root]$ ================================ .. tried unmount Swap .. [admin@oo root]$ umount /tmp/mnt/disc0_1 umount: Couldn't umount /tmp/mnt/disc0_1: No such file or directory [admin@oo root]$ ============= .. [admin@oo /opt]$ mount /dev/root on / type squashfs (ro) none on /dev type devfs (rw) proc on /proc type proc (rw) ramfs on /tmp type ramfs (rw) usbfs on /proc/bus/usb type usbfs (rw) /dev/discs/disc0/part2 on /opt type ext3 (rw,noatime) /dev/discs/disc0/part3 on /tmp/mnt/disc0_3 type ext3 (rw,noatime) [admin@oo /opt]$ .. ====== [admin@oo /opt]$ df -l Filesystem 1K-blocks Used Available Use% Mounted on rootfs 3008 3008 0 100% / /dev/root 3008 3008 0 100% / /dev/discs/disc0/part2 1198832 944088 193844 83% /opt /dev/discs/disc0/part3 2140816 534128 1497940 27% /tmp/mnt/disc0_3 ============ .. [admin@oo /opt]$ fdisk -l .. Disk /dev/scsi/host0/bus0/target0/lun0/disc: 4009 MB, 4009754624 bytes 145 heads, 48 sectors/track, 1125 cylinders Units = cylinders of 6960 * 512 = 3563520 bytes .. Device Boot Start End Blocks Id System /dev/scsi/host0/bus0/target0/lun0/part1 1 150 521976 82 Linux swap /dev/scsi/host0/bus0/target0/lun0/part2 151 500 1218000 83 Linux /dev/scsi/host0/bus0/target0/lun0/part3 501 1125 2175000 83 Linux [admin@oo /opt]$ ============== .. |
|
||||
|
Quote:
You are right. Code:
[admin@blechbuechse root]$ swapoff /dev/discs/disc0/part1
[admin@blechbuechse root]$ free
total used free shared buffers cached
Mem: 13964 13448 516 0 1548 7336
-/+ buffers/cache: 4564 9400
Swap: 0 0 0
[admin@blechbuechse root]$ swapon /dev/discs/disc0/part1
[admin@blechbuechse root]$ free
total used free shared buffers cached
Mem: 13964 13696 268 0 1548 7336
-/+ buffers/cache: 4812 9152
Swap: 500432 0 500432
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|