similar to: swap labeling annoyance

Displaying 20 results from an estimated 5000 matches similar to: "swap labeling annoyance"

2010 Jul 06
4
why i can not put my swap files in /dev?
I tried to create some swap files in /dev directory for my desktop. the dd and mkswap were ok. but when I try to swapon it, i get this: # swapon /dev/myswap swapon: /dev/myswap: Invalid argument but when I mv the file to some other directory like /mnt or /, the swapon works. could sb. tell me why? -- Tang Jianwei
2019 Aug 12
1
Data migration from one server to another- Centos 7
I want to move all my OS, services like Apache configuration and application (web server) files and folders to another brand new server. Both servers are running on Centos 7. i want to clone everything. My questions 1- what is the easiest way to do this? 2- do I need to partition hard-drive of new server exactly as old one? 3- Is there any changes to make on new server after full migration? 4-
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
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
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.
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
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
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
2009 Sep 30
1
[PATCH node] split root filesystems out of HostVG and onto their own partitions
This lays the groundwork for setting Root and RootBackup onto individual partitions for multiple disk installations in the future. Install, removal, upgrade testing has been performed and all seems to work at this point. --- scripts/ovirt-config-boot | 15 ++++++++------- scripts/ovirt-config-storage | 28 +++++++++++++++------------- scripts/ovirt-config-uninstall | 2 ++
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
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'' ]
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
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 Oct 14
1
debian+xen: System fails to mount swap, mydql not starting
I have resolved my mysql problem it had to do with an improperly configured host file. My most pressing problem is why mounting swap fails in all my domU''s. My disks are LVM based. /dev/xen/www_swap for example it the (duh!) swap space for the www domain and exported from the xen file as disk = [ ''phy:xen/www,sda1,w'' , ''phy:xen/www_swap,sda2,w'' ] I
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