General :: How To Create Consistent Snapshots Of Tmpfs
Mar 22, 2010How can I create consistent snapshots of tmpfs or any RAM disks?
View 5 RepliesHow can I create consistent snapshots of tmpfs or any RAM disks?
View 5 RepliesI'm running slackware with lvm snapshots with ext3.
When i create the snapshot number 17 i get this error:
Code:
root@fl65:~# lvcreate -L3G -s -n mysql20101008 /dev/vgbackup/lvmysql
device-mapper: reload ioctl failed: Cannot allocate memory
Failed to suspend origin lvmysql
How could i add more than 16 snapshot volumes?
New vps with fedora 13
my fstab
none/dev/pts devptsrw00
tmpfs /dev/shm tmpfs defaults 0 0
first one works
tmpfs doesn't get mounted....
can't figure out why =
worked on fedora 10...
My laptop now has 8GB of memory, so I think mounting a tmpfs over /tmp is a reasonable thing to do. I also want to prepare for getting a SSD in the near future.The computer has a 1GB swap partition and I've set vm.swappiness=20
1) There is also a tmpfs mounted to /dev/shm. Both have the default size of 50%. Is there a way to get /dev/shm and /tmp to share the same capacity without doing a symlink or bind?
2) Is the swap partition a good size (is that swappiness value ok)? What happens if /tmp runs out of room? Should I increase the swap size to something really large like 15G (because I have swappiness so low...)?
I wanted to create a consistent sync between two directories on two separate hosts. So when I write a file on one host, the file is automatically written on the next host. I don't have shared storage between each host.
View 3 Replies View RelatedHow can I allow normal users to mount a tmpfs under any subdirectory owned by them?
View 3 Replies View Relatedhow to take multiple snapshots with vlc like windows media player does? im talking about talking sequencial snapshots and saving them into a single .jpg or .png image.
View 4 Replies View RelatedI decided to try playing with btrfs. I think you could do lots of fancy things with that. One thing puzzles me though - I can make a snapshot or a subvolume the default volume to mount (using btrfs set-default , but how do I then remove that subvolume default so that the base filesystem is the default mount again.
View 1 Replies View RelatedI am using Ubuntu 10.04 x86_64. I log in to the machine using nfs. For a problem with mounting my home directory, I had to copy all the contents of my home directory (including all configuration files) from a recent snapshot on to itself. That is, I did something like,
Code:
cp -r /home/user/user /home/user
All of my recent data and program configurations were in /home/user/user. So after the copy operation, I logged out and logged back in again to see that all my configuration and data was restored to what I wanted. But the problem is that now on my desktop I see hundreds of mounted volumes. These are coming from an hourly/weekly snapshot program. The tech support guys for my lab have suggested copying all relevant data to a backup and then deleting the home directory altogether. But I don't want to configure all programs all over again. I think I should be able to get rid of the problem by editing/deleting one or more desktop configuration files. I just don't know which ones. I tried looking around the gconf-editor but was overwhelmed at the amount of information on there.
so i've tried doing the whole /tmp as tmpfs thingy and it works!
View 4 Replies View Relatedcan anybody clarify my doubts what is the difference between swap and tmpfs filesystem??
also what is the use of /dev/pts and /dev/shm ?
I've grown rather fond lately of creating tmpfs here and there to speed up various activities. (I think it is awesome that RAM can be mounted to a directory!) The downside though, is that this requires root privileges. I don't really like this because then I either have to go root each time I want a tmpfs, or I have to add a new line to fstab each time I want a tmpfs in some new, odd place. (This becomes doubly weird when the odd place is somewhere like inside my personal home directory.) Is there some other utility out there that can mount RAM as a filesystem, but allow mounting to be done without root privileges? It seems like this shouldn't be an issue, since a normal user has the ability to create and manipulate directories as well as borrow as much RAM as he wants.
View 2 Replies View Related1) In our tmpfs /dev/shm we have what seem to be unused/stale files. Can these be safely deleted by using 'rm'.
2) How is the space calculated for tmpfs /dev/shm?
So for instance if we have unused/stale files are these in the calculation of space used? Red Hat Enterprise Linux Server release 5.4 x86_64
Fs Size Used Avail Use% Mounted on
tmpfs 32G 25G 7.9G 76% /dev/shm
can anybody clarify my doubts what is the difference between swap , tmpfs and sysfs filesystem?? also what is the use of /dev/pts and /dev/shm and ?
View 3 Replies View RelatedI'm running F15 with KDE right now, and I'm using a non-default cursor theme. All KDE/Qt apps are fine, but if I use Firefox, as an example, which is a GTK app, the cursor theme returns to the default as long as it's inside the Firefox window. Back when I was using GNOME, I noticed the same thing when I had my cursor over a Qt app.
View 3 Replies View RelatedI have setup different identities in Kmail to deal with multiple gmail accounts so I have a different set of inbox, sent mail and draft folder for each account.In the message layout, I have chosen to display the columns - subject,sender/receiver and date. For one of my email accounts, kmail does the job perfectly. The inbox foler shows subject, sender and date, whereas the sent-mail folder shows subject, receiver and date. However, this order is not maintained for my other email accounts. The inbox folders show subject, sender and date(which is correct); the sent-mail folder shows subject, sender and date - instead of subject, receiver and date which is what should be displayed.
View 3 Replies View RelatedWhilst this may sound trivia, its some what annoying. I've just upgraded to Natty Narwhal, from Meerkat.On Meerkat i had customised the feel of my desktop to my liking, however whilst it may have kept some of the customisation in Natty, i think there maybe a bug.I boot up and some days my Awn Dock looks different.Sometimes the icons on the dock lookcompletely different to the ones i have selected. Also my desktop icons change. My mouse pointer that i have changed sometimes works and sometimes resorts back to the original mouse pointer.
View 1 Replies View RelatedIt only occured to me now, but why is it that date listings are not consistent?
ex:
Code:
They are all Month Day Year but one (from that particular extract, there's more), why is the 3rd there one Month Day Time? I know the year is not 2011 because we have not hit august 2011 yet, but what if it's 2009 or 2008? I would not know.
One of my sites got hacked and I'm just trying to figure out what the hacker got into and trying to figure how he got in so I can fix the exploit.
My linux system is running from the ram (ramfs/tmpfs). Crated a partition type 'tmpfs'. Processes are reading/ writing from/to this partition files. I am looking for utilities to sync this partition to the remote storage regularly (say, once in 10 sec). Normal copy command will produce partial files, if the copy is getting executed during a write operation.
View 2 Replies View RelatedI downloaded the disc1 iso from [url] and ran it through sha1sum and got 5063ec... (the exact digest is in the virtual console, so I can't copy and paste). But the sum shown in [url] is different, so I removed the iso from my file-system and re-downloaded it. I ran the second download through sha1sum and got the same (wrong) digest as before: 5063ec...
Now, I may not understand fully how sha1 works, but I'm pretty sure if the faulty digest was wrong because of a download error, it would be -very- unlikely that I would get the same wrong digest twice. What is going on here? Is the error server-side or something? Or do I just have terrible luck, or do I not fully understand sha1 sums? Or maybe sha1sum isn't the right command to run?
I've created a 32-bit chroot on my AMD64 installation. It works pretty well when I just type 'dchroot' but if I try to execute a 32-bit program from 64-bit land using 'dchroot <command>', the environment variables are all screwed up. I know I can use -d or --preserve-environment to keep my 64-bit environment but I don't want to do that because I want my PATH to change when I go into 32-bit land. Here's an example of what I am talking about:
Code:
me@box:~$ dchroot "echo $PATH"
I: [x86 chroot] Running command: ?echo $PATH?
[code]...
On boot, udev is giving a mount error. It appears to not have control of the /dev directory. This was finally traced to bad kernel compile, but some questions remain. Bogus information has been removed.
The kernel was built with tmpfs (CONFIG file had CONFIG_TMPFS, compiled kernel probably did not, this has been fixed.)
My system runs, probably because there is a valid /dev directory tree copied from the original 2.4.31 system.
After boot, I am getting 3 udevd running, according to "ps -A".
After re-executing /etc/rc.d/rc.udev I see only one udevd at a low id number (625).
Previously I had 2.4.31, which had udev and it was mounting using ramfs.
My fstab has:
On my previous 2.4.31 these fstab lines were:
I have been running Slackware since 1996. This is Slackware 13.1, running on a Sempron/Athlon K8, VIA chipsets. I have been fighting with this install for 2 weeks now. If I have to I will disable udev and live with a /dev directory that I setup by hand.
If udev does not have a tmpfs over the top of /dev, does it use the /dev on the harddrive or does it just fail some other way ?
We use a Linux server with AFS on it. I changed the linux root password using passwd. The new password will let me log in as root but when I try to change the AFS admin password it asks for the root password. When I put in the password that it let me log in as root. It tells me authentication failed. And when I run the password command with -admin admin, it asks for the admin password. I put in the admin password that worked before I changed the root and it says authorization failed.
View 5 Replies View RelatedI have an intel HDA chipset that desperately wants to work. I have it plugged into my receiver and sound only occassionally works. I say occassionally because I will hear some sound, then my receiver will flash hdmi, as if it is switching to the new stream, I hear silence. Then shortly later, the receiver will provide sound, then again it will 'switch' and i hear silence. To work around this, I had an optical line working and somehow had alsa using ONLY that for the audio (bypassing the HDMI completely). Then one day when I was trying to the audio fixed for some specific application, I broke it! I cannot figure for the life of me how to make alsa ONLY use my optical line. Of course any suggestions on how to get the hdmi to work is even better.
View 5 Replies View RelatedI install and tested Restore EE Backup server on a test PC with basic configuration and its working fine.
[URL]
The issue i have is where is the location these backup snapshots or files are saving? I want to add a separate Storage to save the backup?
I have the latest version of Debian Lenny AMD64 installed on my brother's computer. I am trying to get Adobe versions of flash to install on his computer. It seems no matter what I do I get the freeware version installed which unfortunately is not up to the task. If I try to remove the freeware version the package manager tells me it needs to remove the gnome as well. How can I keep the gnome and at the same time get Adobe version to install. Yes I have a multimedia repository installed and I tried reinstalling Mozilla Adobe package with no success.
Searching forums did not result in any helpful ideas.Things I have already found out from reading this forum.-I have to purge all freeware version of the Adobe flash plug-in. I can't seem to find a way to do this without removing the gnome desktop. It seems that the plug-in is a dependency for the gnome desktop environment. Yes I want to continue to use the gnome desktop environment. I have to install flashplayer-mozilla package from the Debian multimedia nonfree repository. That I can successfully do, and have done so without success. It installs successfully, but it still shows version 9 of the plug-in. I believe version 9 is the free version. What I would like to use the free version, it's just not compatible with the websites I go to.
Getting very frustrated trying to install F12 to my work PC. Its a dell precision 670 with a 3ware 9550sxu raid controller running raid 5. Its consistently crashing at the point when it says 'finding storage devices' with a message about : Mismatched Sizes. What I could try? I had no problem on this machine with fedora 11, so whats changed? Just for info by the way, theres two raid volumes on this system a 750Gb that contains my windows vista installation in a 500 Gb partition (NTFS) and the free space I'm using for fedora. The second volume is a 2TB data volume with a single data partition (NTFS).
View 1 Replies View RelatedI have built 11.2 on several laptops and knetwork manager startup for wireless is not consistent. I can't figure it out. Sometimes the options "Create Network Connection" and "enable wireless" are greyed out. Other times they are fine. What is the secret to getting the options to appear in my window tray all the time? I always select knetwork manager as the default when I do a clean build.
View 3 Replies View RelatedWhat are the solutions to consistently backup a set of VMs stored in disk images (qcow2 or raw) on a filesystem on a lvm volume (with possible snapshots).
- Online : Ideally, I would like to send a sync to all VMs before pause and snapshot, but it seems that it's not possible with KVM (it was with XEN). The save command seemed to be an option, but it crashes some VMs. So, what do you recommend to backup these VMs online ?
- Offline : Is there a command to shutdown all vms, and start them back after snapshot/backup ?
I have a test RHEL5 box, sitting in a brand new Dell blade rack on a PowerEdge M610, with a lovely Emulex OCm10102-F-M FCoE card connected to a Cisco Nexus 5000 switch. The whole setup is extremely new (the cards only recently became available for purchase.) We've finally worked with Emulex to get the cards functional, and we are ready to some stress testing to the SAN. My question now is, is there a good tool I can use to generate a large amount of traffic to a LUN? The Wintel team used a windows-only tool that showed an average of 6gigs/second throughput, so I need something that can generate very large files and simulate a consistent throughput to the LUN. I found iozone, but I'm having a devil of a time with it.
View 2 Replies View Related