General :: Moving Data Contained Within Swap To RAM?
Dec 13, 2010
I have 5.8GB of RAM.
I have 6.1GB of swap.
At some point in time my VMs exceeded the 5.8GB limit and overflowed into swap (all dev VMs). I have since shut down the VMs and restarted Firefox (memory hog). Right now I have 0.73GB in RAM and 0.29GB in swap. I want to move all of the data in swap into RAM where it will be faster. So I will end up with 1.02GB in RAM and 0GB in swap. Is there a quick command to move data contained within swap to RAM? I know of the swapon/swapoff command. I was wondering if there was another method which clears swap.
View 6 Replies
ADVERTISEMENT
Feb 10, 2011
I need help writing a script that will copy everything from tape to system directory. I have a Linux box with 3 TB of Hardware space. I am using the following commands
1) mt /dev/st0 rewind
2) tar xvf /dev/st0
3) tar xvf /dev/st0 fsf 1 (Using this to move to the next segment of the tape) and then
4) tar -xvf/dev/st0
I keep repeating steps 3 and 4.
View 5 Replies
View Related
Feb 5, 2010
Fedora 12 64bit I need nbd-client which is supposed contained in kbd package.
$ yum list kbd
Code:
Loaded plugins: presto, refresh-packagekit
Installed Packages
kbd.x86_64 1.15-9.fc12 @fedora
kbd already installed.
[Code]...
View 6 Replies
View Related
Mar 14, 2011
I have a file called test. It has the following contents.Code:there youI want the output to be.Code:replaced youI am trying to use the sed command to replace every occurance of "hey newline there" with "replaced". I tried the following naive apporach.Code:sed 's/heythere/replace/' testThis gives a result containing the same data as the test file.
View 3 Replies
View Related
Apr 7, 2011
I have the following problem:
CASE_FOLDER
----------->0_FOLDER
-------------------->ForceX ForceY ForceZ
[code]...
View 1 Replies
View Related
Jun 28, 2011
I have a situation where I am trying to move some data from a Linux computer to a Windows computer. In all there is 700GB of data to move in about 1.5 million files, so I don't want to do this over the network.My first thought was to use an external USB hard drive and create an NTFS partition and copy the files from the linux computer to mount on the Windows computer. After 4 days of copying without completion I abandoned that idea. I thought the NTFS might be slowing it down, so I created an EXT3 partition. 4 Days later it was still copying. I did some calculations and there was no way the USB 2.0 connection was that slow. I then used ddrescue and cloned the drive to be copied overnight and it took about 12 hours. i was able to mount the USB drive under Linux and access the files appropriately. The only problem is that I can not access that USB drive on my Windows 7 computer. I have tried Explore2fs, DiskInternals Linux Reader, and Ext2 Installable File System For Windows, but none of them is recognizing the external drive.
View 5 Replies
View Related
Apr 23, 2010
I was wondering if there is a program or just a simple copy and paste from somewhere that will allow me to move my favorites and other data from my opera on xp.
View 3 Replies
View Related
Aug 31, 2010
I have a drive with ext3 that was my old /home drive.When I moved to 9.04 I went with ext4 and just linked to my old home drive.My old ext3 drive is becoming unstable so I want to back it up.I have a 500gb ata drive (unfortunately not a sata drive) thatto wipe and put 10.04 on. I want to move my data from this backup driveIm going to back up to, to the new 10.04 until I get another hd as abackup drive.My question is, I know there is some issue between ext3 and 4 and I dontwant to get into a bind. What would be the best format for moving
View 3 Replies
View Related
Jan 4, 2011
I have a Linux installation that currently uses a 40GB hard disk. It is partitioned as follows:
Code:
The disk has recently started to make a lot of noise, so I'd like to replace it before I lose data.
I have a pair of identical 160GB blank hard disks that I would like to use as a software raid1 array (The existing 30-odd GB root partition would be resized to fill the new disks).
How I could get the data on to the new hardware without losing anything?
View 9 Replies
View Related
May 15, 2011
I would like to move a samba fileserver from ClearOS5 to Ubuntu. It has raid1 (software) and I would like to save one partition from it, md3. The other partitions could be used for Ubuntu. How would I go about this so that I don't erase data from md3 and is it even possible?
View 1 Replies
View Related
May 6, 2011
I am running a dual boot system with Win7 on /dev/sda and Ubuntu 10.10 on /dev/sdb
I also have a 250 GB disk I use for storing backup data, /dev/sdc
The two logical partitions on /dev/sdc (/dev/sdc2 and /dev/sdc5) each take up 2.86 GB and I would like to free up that space if possible.
Since the filesystem on /dev/sdc doesn't have an OS on it, does it still require that those two logical partitions exist?
View 8 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
Feb 5, 2010
Fedora 12 64bit. I need nbd-client which is supposed contained in kbd package.
$ yum list kbd Code: Loaded plugins: presto, refresh-packagekit
Installed Packages
kbd.x86_64 1.15-9.fc12 @fedora
kbd already installed.
But I can't find kbd-client;
[Code]...
View 2 Replies
View Related
Mar 11, 2010
I need to know what files are contained in kernel headers and where are they?
Are they the same for each kernel or no?
I need slack kernel headers for kernel 2.6.27.27
I just need the headers
View 4 Replies
View Related
Jun 30, 2011
I'm struggling with a C# program to read binary records from a database. The records were created with Borland Delphi. Error: You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement.
View 1 Replies
View Related
Apr 25, 2010
I am installing a new hard drive to replace my old one that contained the /var and /home directories. I don't want to copy the whole directories, especially from home because there is a lot I don't need in it.What I need to do is set the mount points for the two partitions I have made on the new drive to /var and /home, but it will not let me do this with the other drive still running. I can't unmount /var and /home while the computer is running, and I would guess that having two drives with /var and /home on them would not work.
So, how can I set the mount points on the new drive and copy the files I need from the old to the new one? It would seem that would require two /home partitions to be mounted at the same time, but I don't think that is possible. I am sure there is some way, probably many ways knowing Linux so please,
View 9 Replies
View Related
Sep 13, 2009
I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.
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
Mar 27, 2011
I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.
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
Jul 14, 2010
A few months ago I have setup a server with three hard disks. The partition mapping the disks as follows:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7ca36fee
[code]....
Now I have the following problem the LVM file system don't mount properly.If I open the mount point I see only a few files of the LVM disk. If I want to unmount the disk I get the following error:
umount /data/
umount: /data/: not mounted
If I want to mount the volume I get the following error:
mount -a
mount: /dev/mapper/gegevens-Data already mounted or /data busy
View 3 Replies
View Related
Mar 4, 2010
I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.
View 3 Replies
View Related
Jan 13, 2011
I already have an existing linux (centos 5.5) running.
I would like to add a second HDD and the partion is /data. Now, my question is it necessary to configure swap on the second drive or no need to configure swap since I already have swap on first HDD.
FYI: the second HDD has 1TB.
View 3 Replies
View Related
Mar 12, 2011
I'm told to go to /home/jbander/Downloads, so how do I do that, I assume you do it in terminal but what do you do next, I can get to home but thats it. How do I go from one directory or file or whatever they are, to another and once I'm there what do I do to see what is in the download file. One more question if I want to change it from e.g. cow to e.g. duck how would I do that(they are just arbitrary names) how do I get rid of cow and how do I put duck in it's place.
View 4 Replies
View Related
May 6, 2010
We are really scratching our heads on this one.We moved 3 Dell PowerEdge servers with Fedora 12 x86_64 from one datacenter to another.2 of them are fine but the 3rd we cannot log into any more.The KDE login screen comes up,e user names are shown, but our passwords don't work.Going to the console, we cannot log in as root with the password either.Also, I set up shared keys for ssh between the 3 boxes so that I could ssh between machines without entering my password -- that doesn't work either. This one is one of the head scratchers since /home is on a different disk.I'm 1,600 miles away and the tech that went into the cage to try from the console does not know Linux. Dunno how he got picked...
What exactly would have been corrupted to cause this behavior -- unable to login locally AND ssh authorized_keys no longer works?Oh, and apparently they were initially able to get into the machine from the console after the move since they were able to configure the NICs. But now we can't.We know how we can get a root login on a reboot from GRUB, but we don't know what to look for as far as what might be wrong with the system once we're in
View 1 Replies
View Related
Apr 3, 2011
In vim, how do I go to a given line? In particular, how do I go to the top of the file or to the bottom? And when searching, how do I unhighlight the found words
View 3 Replies
View Related
Mar 5, 2010
how to swap the CTRL and ALT keys in KDE? to me it seem like the ALT key is better positioned to be used more often for stuff like the CTRL-W close or the CTRL-S save. and there is no way to press CTRL without taking my fingers off of the home row.
View 1 Replies
View Related
Jan 10, 2011
i once resized my / because it had plenty of space and put that into my swap . then i wanted back the space in / so i delted swap . then remade swap with the free space .here's my fstab :
Code:
# /etc/fstab: static file system information.
#
[code]....
View 1 Replies
View Related
Aug 3, 2011
I'm considering formatting my PC and installing more than one distro. Is it possible to use the same swap partition for all the distros, no matter how many they are?
View 11 Replies
View Related