Ubuntu :: How To Move The Swap Location
Apr 28, 2011
can you move your swap to a new location after a install and if it is possible will it give any kind of performance boost if it is moved to a separate hard drive? I did this on my XP machine and it made a pretty big difference in over all speed of the machine and wanted to try this on my Ubuntu machine, assuming it will even make and difference in performances.
View 3 Replies
ADVERTISEMENT
Oct 16, 2009
I'll start by explaining what my system layout currently is. I have Fedora 11 X64 installed on my system, it is an HP Dv9380ca laptop. My system has 2 hdd /dev/sda /dev/sdb. During the setup i set my home directory to reside on /dev/sdb. After booting i realized that my root and swap partition are part of a volume group name vg_sharpfed and are set in fstab as:
/dev/mapper/vg_sharpyfed-lv_root / ext4 defaults 1 1
/dev/mapper/vg_sharpyfed-lv_swap swap swap defaults 0 0
Output of Fdisk -l /dev/sda
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1aecda8d
[code]....
My /dev/sda2 partitions is 100gigs and set as an LVM. Essentially what i am getting at is, if it's possible to temporarily copy / /boot and swap to my second partition, edit grub if needed and fstab to mount to the temp locations, format sda to ext4 create partitions for / /boot and swap partitions, then copy back the original directories edit required fstab to mount the original locations and no longer have them contained in a Logical volume.
View 3 Replies
View Related
Jul 14, 2010
I got squid3 installed on ubuntu server 10.4. I believe it is up and running as I can browse the internet on my other computers.I followed one of the tutorials on the net and looked at others for guide as well. Everyone of them did not mentioned that we have to create the swap files. Are we suppose too? I couldn't find the location of the swap file anywhere on the server.
View 1 Replies
View Related
May 30, 2011
Just moved/reinstalled my HTPC setup (XBMC Live + extras) to a 8GB USB pendrive to simplify future reinstalls and upgrades. Everything works fine so far and I've not had any issues setting up everything for my needs. The system is very responsive in use in XBMC (and other) but slow down quite a bit occasionally when doing to much at the same time.
Since a USB pendrive have its limitations, a concern I have is regarding the swap partition that is currently on the pendrive. Should I move the swap to a swap partition on my HDD to ease the stress on the pendrive; and could I expect any gain in performance? I have 2GB of RAM.
View 2 Replies
View Related
Jun 29, 2010
I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.
I have a drive (/dev/sda5) mounted as /media/data
I would like to move /home to /media/data/home?
I have tried usermod but get the following error:
Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist
View 2 Replies
View Related
Nov 3, 2010
How to move hidden folder from /home to another location - on another partition? Is it possible? I'd like to move some folders for example ./thunderbird or so that I wouldn't need to make a backup. Or at least is it possible that program can right files to two folders, or that everything from /home./thunderbird would copy automatically to ./thunderbird on another partition every time there is a change? Is it possible to write a script or something? I use luckybackup but I would like to be able to forget about backups and make script or program to do it for me.
View 9 Replies
View Related
Dec 5, 2010
I love the way my Patriot Inferno SSD boots up. It takes about 13 seconds from GRUB to when I start to hear music... But I was wondering if I need my swap partition to be on the SSD, i.e. my spinning disk also has a S.P. I have 8GB RAM, so I don't know if I'm even writing to it.
Q9550, Palit GTX460-2GB, Evga 9800GT, 60GB inferno SSD, P5N-D, Zumax 650W, Unbuntu 10.10, and 11.04
View 2 Replies
View Related
Feb 2, 2011
In our cluster, both the server and worker had been gone to swap and the performance is extremely slow. Although currently the memory is free but I don't know why the in the swap area is still being there and ubuntu doesn't move them to the memory and empty the swap.
On the other hand, when I run
Code:
sudo swapoff -a
on the server it says:
Code:
mahmood@server:~$ sudo swapoff -a
[Code]....
View 10 Replies
View Related
Aug 27, 2010
I want to move the location of MySql data file by setting datadir variable but I cannot find the variable in my.cnf file.
Should I set the variable in my.cnf, or is there any other configuration file beside this one?
View 2 Replies
View Related
May 24, 2010
I just got a new laptop and installed 11.1, and I want to move my swap file to a 8GB SD card I have. It seems to run very fast, so it will improve swapping speed. I created a swapfile with Partitioner, and I can delete the existing swapfile with GParted during a reboot - but I'm afraid I will make my system unbootable by doing that - don't I need to first tell OpenSuSE what swapfile (on the new sdb) to use? I'm pretty sure it will detect the new swapfile automatically during boot, but it might choke on a missing (old) swapfile.
View 6 Replies
View Related
Jun 17, 2010
I'd like to move a selection of files from all the sub-directories within an overall directory to a single destination. I don't want any of the directory structure, just the files themselves. This is what I tried so far:
mv /dir1/*/igs*.sp3.Z /dir2
There are other .sp3.Z files in the * directories within /dir1 but I just need the ones that start with igs..
View 4 Replies
View Related
Apr 7, 2009
I currently have a server with the default VolGroup00 that contains logical volumes for the root file system and swap using logical volumes LogVol00 (root) and LogVol01 (swap.) I need to take space from LogVol00 and move it to LogVol01. I have found documentation for increasing the swap, and the resizing the logical volumes. However in the documentation and the man pages it says that I have to reduce the size of teh file system on the logical volume I am going to shrink. I have found documentation resizing the logical volumes but not the file systems.
View 6 Replies
View Related
Apr 11, 2010
Does anyone know how I can move the location bar in nautilus up by the toolbar, as shown by this pic:
http://i39.tinypic.com/2qdsyll.jpg
I'd rather not have to download the source of nautilus and edit the code / compile it myself.
By the way, a guy on Ubuntu Forums thought this was a mockup. It's not. It's the regular version of Nautilus, only I removed some toolbar buttons through the /usr/share/nautilus/ui xml files.
I just want the location bar next to the toolbar to conserve screen space, and be a bit more like Finder.
View 3 Replies
View Related
Apr 26, 2011
I'm working with a program that uses Open Motif to create all of the widgets, including the Open File dialog box (obviously). However, Open Motif being kinda old-timey, 80's vintage, and for the most part now an abandoned project, it is quite clunky. So, actually what I need to do is to open some files located on my work server. I have already successfully connected to the relevant server directories with Samba, and with programs built with GTK+ (such as GIMP) I can open files across the network because I have created a bookmark in Nautilus, and those bookmarks appear in the Open File dialog box created by GTK+. Now, Open Motif is different: it doesn't see network locations, orNautilus shortcuts. When I type "smb://serveripyadayada" in the search folder, it really doesn't like it and complains. So, what do I do? Can I get somehow Open Motif to open a network location? Or can I do a run-around and place a shortcut in the file system that points to the network location?
View 2 Replies
View Related
Dec 7, 2010
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies
View Related
Aug 16, 2010
RAM for older machines like I use is fairly cheap these days. But flash memory is just as cheap or cheaper. So I'd like to ask about the feasibility of expanding my system's memory using flash memory. And about whether creating a partition for swap on the flash memory, or whether a swap file on the flash device, is the better way to go.
By flash memory I have in mind mainly USB sticks or what are sometimes called "pen drives." But I do also have CF and SD cards that, with the proper cheap adapter (one of which I already own for adapting CF) could be used to create extra swap space. So, what is the current consensus on the feasibility/advisability of using flash memory for swap? I've read about the limited write cycles of flash being an argument against using it for swap. But recent reading indicates to me that the limited write cycles problem applies mostly to older, smaller-capacity flash memory. Some will come out and say that, for larger-capacity flash memory, the life of the device is likely to exceed the amount of time your current computer will be useful (I think I've seen estimates in the range of 3-4 years life--minimum--for newer, higher-capacity flash memory).
A more persuasive argument I've heard against using flash memory for swap is that access times for these devices can be much slower than SATA, and maybe even IDE, hard drives. That would certainly dictate against using flash memory for swap.
So, how about some input on this issue? Anyone using flash memory for swap? If so, what kind (e.g., usb stick or SD/CF)? Are you using a swap file or a swap partition? How's system performance? Likewise, has anyone had flash-memory-used-as-swap die on them? The consequences would undoubtedly be dire. Also, has anyone measured flash memory access times to confirm or refute claims about slow access times? Are some types of flash memory better/worse than others in terms of access times?
View 2 Replies
View Related
Oct 30, 2010
I have been testing ubuntu 10.10 maverick, it has some nice features. Anyway I am missing the possibility of writing manually the folder you want to go on nautilus using the Location bar. It was used to have some kind of icon which you can click and it switched between graphich breadcrumbs or the location of the folder and you could changed it manually, you know what I mean?
View 2 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Feb 19, 2010
I know it's possible, but does anyone have a URL or tutorial on how to do this?
View 3 Replies
View Related
Sep 19, 2010
For Ubuntu 10.04 LTS / Gnome 2.30.2.
I have two applets on my Gnome panel -- NetworkManager Applet 0.8, and Klipper (it works better than Glipper) -- that I want to move.
HOWEVER, right-clicking the panel icons does not enable me to move these applets, as follows:
- NetworkManager Applet 0.8 does not include a Move item in its list of options.
- Klipper displays a long list of Klipper options but no Move option.
How I can move these items to new locations on the Gnome panel?
View 6 Replies
View Related
Apr 30, 2010
i found that 10.04 hasn't edit location icon at location bar of nautilus. how to get it?
View 2 Replies
View Related
May 27, 2010
I am just wondering why KDE never uses my swap. On the KsysGuard, It reports that I have a GB of swap that is never used. I have 2GB of ram. This is only an issue because VMware will take up half of my computers resources for itself if, in the event, it needs to use it. How do I change this so my swap is being used. I have: Kubuntu 8.04LTS
View 2 Replies
View Related
Apr 11, 2010
I did something wrong while setting up my swapspace so now my main HDD is linux-swap I am dual booting windows and ubuntu, but now I can't boot into windows nor acces the partition because it is swap now.
View 9 Replies
View Related
Aug 28, 2010
I use the infinity symbol quite a lot and I'd like to change an unused key (fn perhaps) to the infinity symbol key.
View 3 Replies
View Related
Sep 14, 2010
What apps use RAM and which ones use SWAP?
View 8 Replies
View Related
Feb 14, 2011
My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?
View 3 Replies
View Related
Mar 4, 2011
I recently enlarged my Root and Home partitions and in the process was left with 1.69 GB of unallocated space next to Swap(see image). Not quite sure how it happened this way but for some reason I was unable to grab all the unallocated space available when enlarging either Home or Root. What I am wondering is there any reason why I couldn't enlarge Swap and thereby use up that unused 1.69 GB? Would there be any minor advantage to this? Also if I did this would it simply be a matter of booting from Live Disc and running GParted with Swap off and grabbing that space?
View 3 Replies
View Related
Jun 4, 2011
what exactly are my 'swap 3.1gb' and 'extended 3.1gb' partitions for? are they necessary? what would happen if i deleted them? do they have to be that big (thinking about loading ubuntu to 20gb HDD partition, but at 6gb for the other stuff, #ouch#)? What does ubuntu do about very low space when installing (i.e. in reference to the 20gb part)? why does ubuntu have these but no other Operating Systems do? Would i lose any performance without them?
View 9 Replies
View Related
Jun 17, 2011
I am getting a new SSD for my laptop and I have been researching the different tweaks for an SSD. I still have a question regarding the swap partition: is it better to not have one for an SSD? (I have 4GB of RAM...)
If I don't, how would I specify it during the installation process for 10.04?
View 7 Replies
View Related
Jan 15, 2010
me whereabouts in /home a private key that I've generated would be?I've just done a clean install of Lucid and want to import the keys from my backup of my Karmic home folder.
View 4 Replies
View Related