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...)?
how to get USB disks/sticks to mount on the clients. Is there something with some configfile that needs to be enabled or in the setup of the default image?
Cannot even move files from the USB drive via the servers USB as it is virtual one on a ESXi host.
the school starts on monday (8 hours) and there is about 10GB files that need to put in place before that.
PS. OpenSuse 11.3 all patched with minimum XFCE desktop on the server. easy-ltsp install via 1-click install on the opensuse/kiwi-ltsp page. Server + 20 clients Everything else functions properly but no CD or USB on clients
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.
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.
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 ?
I was just given a dell mini 9. Joy a new toy The SSD has failed, so I installed Slackware -current to a 2GiB SD card. Everything is working fine except I'm worried about killing the flash drive due to excessive read-writes. Not being concerned with persistent storage, I've mounted a couple of dir's to ramfs -
[Code]....
I'd love to mount the entire drive as read only. Then certain directories that need written to as ramfs. However this mini 9 only has 512MiB, and I'm affraid I'll quickly run out of space. I am not using swap. ramfs and tmpfs are new concepts to me. I did a little research, but was hoping for some user input on their experiences.
Recently I was trying out a boot disk I had made, and basically, I switched it off several times due to it booting the completely wrong kernel. Now, I'm getting to the stage "Checking File systems" and then comes up [Failed]. I then get a message saying Reboot required, and that it will reboot in 15 seconds, just a few seconds before it reboots I get "/dev/shm not mounted, /dev busy" or something similar.
I've booted up my sysresccd, ran "fsck.ext4 -fcv /dev/sda2" to force a check and scan for any bad blocks, it came up clean, then I rebooted and got the same error, so I copied the kernel and system.map over to /boot to make sure there's no corruption and reinstalled initscripts and util-linux-ng, rebooted, same error.Tried different kernels, I've checked fstab and menu.lst, no problems there, so I still don't get why I still get the same problem.
This may be to specific of a scenario, but it is real.- I use an NFS mounted FS as a destination for my backups from multiple clients. - If the FS is mounted with 'noac' which in effect disables write caching, backup performance is horrible 40kb/sec.- If I remove this mount option, backup performance is fine 12mb/sec. However, because of write caching, my cpu io wait time increases (up to 40%) and performancen the entire host suffers unacceptably.My initial impression/solution is to find a way to enabling write caching e.g. do not specify 'noac' and limit OS write cache size
I have an NFS server running an older version of AIX that exports two disk partitions. Let's say /1 and /2I also have an NFS client running Fedora 9.I am able to NFS mount /1 and /2 from NFS server under /mnt/1 and /mnt/2 on the client.If I do a df command on the aix server,I see that /1 is 2Gb total and 1.7Gb is usedand /2 is 2Gb total and 1.4Gb is usedI see the same if I do a df command on the NFS client (Linux)Now, the confusing part is here: in the GUI of Fedora, if I go under /mnt and right click on /1 and check folder properties, it tells me that there is ~ 54 000 files (which i assume is the correct number) for a total of 5.3Gb! And for /2, properties indicate 1.2Gb. Where do these extra 3.6 Gb come from on /1...? and even the smaller difference for /2 confuses me (but this might be just the way different systems round off large numbers)?
I recently formatted my hard drive and installed Ubuntu and I have the following problem: My laptop has to inbuilt hard drives, one which I use for the operating system and one which I use for storage. Up until 3 days ago, I had Windows XP and Ubuntu 8.04 installed on one of the hard drives, but decided to switch fully to Ubuntu 9 because Windows was giving me far too many issues. So I downloaded the ISO, burned it on CD and then installed. I formatted (as far as I could tell) only one drive but the other one has disappeared from view ever since. I asked a more Linux savvy friend of mine for help and he only got as far as determining that the 2nd HDD is still detected but not mounted. And then he referred me here.
Code: apt-get install kubuntu-desktop and I love it. However, in GNOME, it shows all the usb drives and cds you have in on the desktop. The kde desktop doesn't do this, and I'm wondering if there's a way to make it so. I googled around, but couldn't find anything.
I'm using LVM-based partitioning. I can not mount one partition. Here is some information I can provide.
Untitled-1.png snapshot7.png snapshot8.png
This incident happened after I try to encrypt this partition and then an error message appears. If not mistaken, it contains an error number (I forget) and a warning which reads that can not remove the LABEL on the devices.
Created partitions, some of them LVM, in a server, say A. Did the same for another server, B, but created one more LVM partition.
Installed RHEL in A, and some other applications. Made dump files for each partition of A and restored all of them them in B. No error in that process, except B wouldn't boot. Did chroot /mnt/sysimage and grub-install /dev/sda--still no good. B came to a halt with GRUB> dispalyed. <tried many things many times.. searching Googles..but w/o luck) Gave up, and restored the bootloader part using OS CD -- I say restored because now B boots ok and I can see application that I had installed in A. So far so good.
Problem: that extra LVM partition is missing! I did not knowingly overwrite it, so where did it go? Somebody is keeping it from being displayed!
Is it the grub.conf that tells the OS what to mount and what not to? If yes, problem is , grub.conf is missing in B. In A, it is in /boot/grub/. df -kh shows other partions (some of them LVM) just fine.. what is going on?
I tracked a file called menu.lst in a strange place, in /usr/share/doc/grub-0.97.. but I didn't see any entry that loads partitions.
I run Windows Vista and Ubuntu 9.10 dual boot. Today while booting windows, it informed me that there was something wrong with my hard disk and it would perform a check, and made some fixes.
Only when I wanted to boot into ubuntu again did I realise that the disk check had corrupted my linux partition. Ubuntu's load screen shows up, but just before the login screen it says that the filesystem could not be mounted.
Is there a way I can fix this? And how do I prevent windows from doing the same in the future?
How can I see all the physical hard drives on my Ubuntu system — regardless of whether they're mounted — as well as their partition info, sizes, &c.? I have three physical drives, but only one seems to be mounted. I'd like to mount the other ones too, as I have some data on them.
I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.
But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.
I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition
Code: /dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02 and I use the tune2fs to set the maximum mount count to 32. Code: tune2fs -c 32 /dev/sdb
now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.
Every time I mount one partition manually as read write it works fine for a couple of minutes before reverting to read only. It still appears as read-write when I list the mounted directories but won't let me write to it. I have tried unmounting and remounting it, but after a few minutes it always ends up as read-only again.
$ mount /dev/sda3 on /scratch type ext3 (rw) $ mkdir /scratch/file
I am sharing directories using NFS.so one machine mounted those locations (Server). so i need to get what are the machine which successfully mounted (IP address of mounted locations). At the boot time server mount the remote location.but i want to get what are the successfully mounted location into text file.