similar to: why i can not put my swap files in /dev?

Displaying 20 results from an estimated 1000 matches similar to: "why i can not put my swap files in /dev?"

2012 Jan 05
2
swap labeling annoyance
I just upgraded a blade server via rsync from another server. Rebuilt the initrd. It boots fine... except that it won't turn on the swap partition. Several times, I've made sure swap was off, then mkswap -L SWAP-sda3 /dev/sda3, but when I do swapon -L SWAP-sda3, it complains it can't find the device for the label. The only thing I find while googling, other than redoing what I've
2008 Nov 05
2
Adding another swap
Hi ALL, I have a harddisk with 3 primary partitions and one extended partitions. Under extented partions , there are 15 partions. Whole hard disk has been partitioned in a standard way, (i.e NOT LVM) It has 2GB ram. swap is also 2GB. Now I want to extend this swap to 4 GB. If I use dd coomand and create a file with 2GB, Will I be able to extend the swap witn swapon commnad? How can I achive
2007 Mar 28
3
changing swap size
Is it possible to change the swap size with out re-installing the system? Looking at the dd command but don't really know what to expect. Many thanks for your help -- This message has been scanned for viruses and dangerous content by MailScanner at caspercollege.edu and is believed to be clean.
2005 Oct 21
4
Mounting swap fails in domU (badiane)
Has anyone experienced a swap failing to be mounted in domU''s? I created a LVM swap space, ran mkswap and made it available on the same line as the root partition (also on LVM) in each of the domU''s config file. But it fails to be mounted and I''m running without swap space. That wouldn''t be too much of a problem if I had a lot of mem to play with but
2013 Oct 21
11
swapfile on btrfs, temporary solution for wiki
Hello list, i know what btrfs don''t support swap files. I read arch wiki and when i reading about systemd addon for auto create swapfile on btrfs, i invent the way, how create and using swap file, just see following sh code: swapfile=$(losetup -f) #free loop device truncate -s 8G /swap #create 8G sparse swap file losetup $swapfile /swap #mount file to loop mkswap $swapfile swapon
2008 Oct 28
3
Apparently no swap configured
Hello, I'm in a slightly unusual situation and I'd really appreciate some advice. I installed CentOS 5.2 on a server about a month ago. Today I happened to check the 'free' command and noticed that the Swap line reads as follows: Swap: 0 0 0 I'm pretty certain that when I installed the OS and created a custom partition table, that I defined a
2006 May 04
1
Debian DomU not properly mounting swap
I am running Xen 3.0.1 with Gentoo for Dom0 and when I create a DomU with Debian, the kernel or system does not seem to recognize the volume I have created for swap on the DomU and will not mount it during boot or after. here is the disk section of the xen config for the DomU: disk = [ ''phy:xen-disks/disk-root,hda1,w'',''phy:xen-disks/disk-swap,hda2,w'' ]
2007 Sep 04
2
shrink LV with ext3 filesystem
Hi. I want to make a snapshot from a logical volume and noticed that there must be enough free disk space in the volume group. Actually there is no free disk space left. How do i shrink online /var without losing any data or restore from backup? I do not have physical access to the server. Specs: Dell PE SC1430 with a 5/i RAID Controller one RAID 1 array from the Dell RAID controller 2
2007 Apr 03
3
How to Increase Swap Memory in Centos 4.4?
To install Oracle Database 10g, I need to increase the swap memory to 1004 MB. [root at server OpenBravo]# rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm Preparing... ########################################### [100%] This system does not meet the minimum requirements for swap space. Based on the amount of physical memory available on the system, Oracle Database 10g Express Edition
2005 Aug 15
2
How to setup swap
Hi All, I could not locate the info & syntax to setup swap partition in domU. I''ve setup the fstab file like that after having created a LV for it but I don''t know how to instruct xen to use it:. I feel I have to somehow set it in the VM file but how ? Of course I''ve run the mkswap and tried swapon -a but I get the obvious message bellow as it cannot read real
2015 Jun 26
1
Re: [PATCH v3.1 7/9] New API: swap_set_uuid_random
In data venerdì 26 giugno 2015 17:35:42, Chen Hanxiao ha scritto: > Also introduce get_random_uuid() > > Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> > --- > daemon/daemon.h | 2 ++ > daemon/swap.c | 32 ++++++++++++++++++++++++++++++++ > 2 files changed, 34 insertions(+) > > diff --git a/daemon/daemon.h b/daemon/daemon.h > index
2009 Jun 05
3
Swap priorities with swapon (Is my swap drive working?)
Hey Listee's I have a CentOS server with 2GB of ram and a swap drive of 4GB; swapon -a shows my swap drive as 4GB with only about 350 bytes in use (which is fine as my server idles with about 350-400MB ram usage so no swap should be in use. However my one and only swap drive had a priority of -1. I had read that the swap drive priority doesn't matter too much because I only have one swap
2003 Nov 30
2
Early-userspace and swapping
I just recently posted a patch to the linux-kernel mailing list to move rootfs/initramfs from ramfs to tmpfs. Now I'd like to test this out better. Currently I'm only using initramfs to store data so I'm new the this klibc thing. Tommorrow I'm going to try to get klibc working to run some programs in early-userspace. From what I've read so far, i'll need a swapon
2017 Aug 18
1
[PATCH] resize: handle empty UUIDs for swap partitions (RHBZ#1482737)
Avoid passing an empty UUID string to mkswap, which mkswap does not accept (correctly) as new UUID. In addition, print a warning when the UUID of a swap partition changed, since it may require manual fixups in the guest. --- resize/resize.ml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/resize/resize.ml b/resize/resize.ml index fbb2d021b..48c75161d 100644
2010 Jul 21
0
[PATCH] RFC: Encrypted swap support
(depends on Advance Storage Configuration patch) This patch adds the option of requesting, at install time, that swap LVs be encrypted. The modifications include: * Introduction of the ovirt_swap_encrypt install parameter * Inclusion of all required packages * Inclusion of required kernel modules * Introduction of /etc/ovirt-crypttab to hold encrypted swap configuration (Couldn't use
2005 Dec 05
5
CENTOS4.2 swapon -s result ?
Hello It is my first question here and I would like to thanks all of you to keep alive this stream and to give answers (I regulary read). Thanks for the good job. After installing CENTOS4.2 and "play with" I type the command swapon -s to verify everythings is ok but the command does nor return info as it should do. Is it something known ? Thanks Jean-Pierre Castello HP France mobile :
2007 May 09
2
how to create label fo swap space
I just add a partition /dev/sdb3 and use "mkswap /dev/sdb3" to make it swap space. How can I label the /dev/sdb3 like "SWAP-sdb3"? what I want is put on /etc/fstab as entry like: LABEL=SWAP-sdb2 swap swap defaults 0 0 LABEL=SWAP-sdb3 swap swap defaults 0 0 Thanks
2016 Nov 25
3
[PATCH 1/2] daemon: allow to change the labels of swap partitions
--- daemon/daemon.h | 1 + daemon/labels.c | 3 +++ daemon/swap.c | 21 +++++++++++++++++++++ generator/actions.ml | 4 ++++ 4 files changed, 29 insertions(+) diff --git a/daemon/daemon.h b/daemon/daemon.h index 79a5288..2379e31 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -254,6 +254,7 @@ extern int64_t ntfs_minimum_size (const char *device); /*-- in swap.c --*/
2009 Aug 20
3
No swap on domU
Hi guys. DomU config disk = [ ''phy:/dev/xen00/debian5-base,sda1,w'', ''phy:/dev/xen00/debian5-swap,sda2,w'', ] ----------------------- mkswap /dev/xen00/debian5-swap But in domU in booting: Activating swap...failed. What wrong? -- Best Regards, alex.faq8@gmail.com
2016 May 31
2
cannot get APC ups status change via usb cable from RaspberryPi
Hi All, I get very strange UPS problem from RspberryPI mode B (both version 2 and 3). Here is our environment: OS: Raspbian 8.0, Ubuntu 16.04 and Ubuntu 14.04 Platform: RaspberryPi Mode B version 2 and version 3 NUT: tested version 2.6.3, 2.7.1 and 2.7.2 (from