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.
#
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.
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?
When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked
For whatever reason /dev/sda3 (at /tydelik) does not mount itself (like all the other partitions) when the system reboots.
In YaST's expert partitioner it says that:
Quote:
An asterisk (*) after the mount point indicates a file system that is currently not mounted (for example, because it has the noauto option set in /etc/fstab).
Here is the /etc/fstab :
Quote:
I don't see a noauto option. Is it hiding somewhere?
Also, if I say the following then it seems that /dev/sda3 is ext2 and not ext3 (as YaST says).
Quote:
Firstly, how do I specify /dev/sda3 to be mounted by default (because I thought it would unless there is a noauto specified), and secondly, why is YaST not showing the same settings as when I say "mount" ?
(Using ubuntu 9.04) I really don't want to trash my system! I have an external usb hard drive I want to automount on bootup / startup. Not 100% sure of the best / safest way: here is some info on my drives
Code:
ONCE MOUNTED THROUGH FILE MANAGER AND RUNNING DF AGAIN HERE IS THE DRIVE
Here is my fstab file
So the drive is a NTFS drive and it's /dev/sdb1 and label is /media/Mybook
Other users can't access my second SATA HDD until I have logged in and clicked on it (or saved or opened a file, etc) and it asks for a password. Once I enter a password then I can access it and so can other users.
I figure I need to auto mount the drive.
I can't seem to view the fstab. In a terminal it says 'permission denied'. I've tried changing to root but get 'Authentication failed'
P.S. I was sure under Kubuntu 7 or 9 you could right click on the icon and select 'automount'. Or was it MEPIS...?
proposed mountpoint for NIS client home dir for 'user': /shared/home/user
auto mounting to /home/user works fine BUT if i want to automount to different location; it still looks for /home/user directory to mount to. So I get an error and i get directed to the '/' dir. Is there someway for me to edit the passwd file that is being exported by the NIS server? because if I change the local passwd of the user in the NIS server then he wont be able to see his home dir when logging in locally. (although this does seem to be a good idea; since he wont need to login directly into the NIS server....)
On Ubuntu, there was this very sane feature (for laptop/desktop user): when you insert a thumbdrive or external usb media, the system mounts the media and sets all the correct permissions for the current non-root logged in user.
What do I have to change/edit/configure to make Fedora 15 behave like this?
I`ve installed openbox with Thunar and now I have problem with automount function. thunar-volman is installed, volume management in thunar is on, thunar --daemon $ is written in autostart.sh . But automount is not working.
I have a NAS from WD that runs some stripped down flavor of linux. The NAS has one USB port at the back which can be used to expand the storage. If I plug in an external disk formated in either NTFS or HFS+ then the system automatically mounts the disk and shares it over samba. If I plug in a disk that is formated in ext3, the disk is recognized but that's about it. It doesn't mount or get shared or anything. I have tried asking WD about this and I have tried asking google. But after two days of searching I am turning here for some more expert advice.
Here is what I've managed to figure out so far.
If I check dmesg before and after plugging in the ext3 usb disk I have found out that these lines are added to the log:
Code:
I have tried googleing those last two lines but I haven't found any info that I can make any sense of.
If I run the command "mount -a" I get the following messages from the shell: "mount: Cannot read /etc/fstab: No such file or directory"
Hover I am able to mount the ext3 disk manually. First I get this info from fdisk
Code:
And then I run these two commands:
Code:
This makes the usb disk visible in the shell, but since this is a NAS, it is kinda useless as long as it doesn't show up in samba.
Since I'm pretty new to linux I don't know what to try next so I'm hoping for some advice as to what I can do to make the ext3 usb disk automount.
Code: allen@heavy:/etc$ uname -a Linux heavy 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux FAT: IO charset ISO-8859-1 not found I just recently installed Xubuntu 9.10 on my old acer Aspire 3000. Previously I was running Debian 5. Something it was great and all but I wanted to try out the "New Hotness" that is Xubuntu. The install went flawless and as far as Linux distro's go this is by far the most impressive. However, I have this problem with my USB storage devices not mounting. When I plug them in they show up and everything looks like its about to work when I get this: [URL] A quick jaunt over to dmesg:
Code: # [ 2950.184072] usb 1-3: new high speed USB device using ehci_hcd and address 6 # [ 2950.320178] usb 1-3: configuration #1 chosen from 1 choice # [ 2950.326192] scsi5 : SCSI emulation for USB Mass Storage devices # [ 2950.326513] usb-storage: device found at 6 # [ 2950.326519] usb-storage: waiting for device to settle before scanning # [ 2955.324403] usb-storage: device scan complete .....
I've been all over google, in multiple irc rooms asking questions, and I cant seem to get anywhere. I can mount the devices manually with mount -t auto /dev/sdb1 /mountpoint. They mount themselves when I plug them in.
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.
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.
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?
I'm using some milters on a Sendmail box that recommends using a RAMdisk [tmpfs] to store temporary files, the performance benefits of which are quite noticeable. However, the problem is if a huge number of messages are all delivered at once this partition can be pushed off the physical memory and into swap. When this happens the performance tanks to about 1/20th to 1/30th of normal.Is there anything I can do to keep a tempfs from being swapped to disk?
There are plenty of tools for umounting/mounting/automounting usb flash/pen drives/dongles/hard drives. There's the Device Notifier on kde 4, for example.
But what about other devices like headphones, mice, keyboards, modems, etc? A tool for doing this would be very handy.
I am new about swap and filesystem. Now I encounter a problem: 2G ext4 disk /dev/sda7 # Want to be used as swap in fedora 24G ext4 disk /dev/sda8 # My fedora is built on it without Swap As described above, I want to use /dev/sda7 as swap in /dev/sda8. How to deal with it?
I'm interested in figuring out which programs on my machine are using swap, and how much each is using. I realize this can probably be done with top, but I am having trouble figuring how how.
What I've tried:
Start top Press f (add column) Press p (SWAP colum)
This adds a SWAP column, but the data doesn't seem to be correct. Top lists Firefox as using 582m of swap, but the header simultaneously reports that 0k of swap is being used.
My drive is a 160GB and currently having 2 partitions:swap (taking about 2 GB) linux (taking about 155GB)
Here's the fdisk -l
Quote:
I'd like to do the following:Increase the swap partition to 5GB Reduce the Linux system partition by 25GB and give this 25GB to a new partition, which I'd like to use for my Data - this should be accessible by both Linux & Windows
I have an CentOS 5.4 install with several swap partitions of 2048Mb each (someone suggested to me the OS would run better like this?). But, I have a few other partitions and I'm sick of having so many to check and monitor. Also, having set up another machine with only one swap partition, I am not finding it running any better/faster.How do I go about deleting all the swap partitions and making a new one (to fill the exact same space as ALL of the old ones)?
I then only created /dev/md0 which consist of /dev/sda2 & /dev/sdb2 in RAID 1 mirror.
When I boot the system, I show that Swap fails during boot in bright 'red' letters. I don't know if it failed activating both or just any swap partitions in general. When I look at 'df -h' while my system is booted, I show:
I'm installing the ubuntu on my new computer with 1 TB hard drive (and core i7 870 with 4G RAM), for the purpose of scientific computing. I have two questions:
1. Since I am not absolutely certain that the simulation won't use larger swap space than usual (say 3x4G = 12G), I intend to set it initially as 12G keeping in mind that I might have to extend it later. So one might suggest putting it on lvm partition. But then I read that I can maximize the speed if I put the swap at the outer track. If I mix it with the other logical volumes in the same volume group, then I don't know where my swap space is across my hard drive, isn't it? So this might suggest I make it as a primary partition. I'm stuck..
2. My current planned partition map is / 1G /tmp 10G /usr 20G /var 5G /home the rest
taking into account I will install MATLAB and maybe other visualization software. What do you think of this scheme?
as per the output, there is no swap partition in my system..i am lack of analysing the output above. please describe me about buffers,cached fields and "-/+buffers/cache" row.and do i need to create swap partition or not?if yes, how?
As my harddisks are completely full I want to swap a 1,5TB drive with a 2TB drive to give me some breathing space. The 1,5TB is part of a LVM spanned volume. My simple question, how do I move all data from the one drive to the other drive without ruining my spanned volume?