I'm trying to bind a couple of LVM partitions to directories in the /export directory for NFS hosting. I just want to make it clear that the partitions I'm trying to bind are local LVM partions, the binding is to allow NFS export (they are not networked partitions).
My distro is Ubuntu 10.10 if that makes any difference.
I can bind the partitions perfectly manually using this as an example:
Code:
However fstab fails to bind when I restart, and trying to use the fstab with a mount command to check it yields:
Code:
Are their subtleties with LVM that I do not understand?
Before setting up LVM, I previously had partitions bound in fstab with no issues using regular partitions (for NFS export again).
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
My Laptop has Ubuntu 9.04 and I am using it for the past one year. I have four partitions. Gparted Screen Shot attached. /dev/sda5 was mounted as "Laptop 2" /dev/sda6 was mounted as "Laptop 3"
But from today morning I was not able to access any of the files from my hard disk. When I press the "Computer" Menu Item from the "Places" menu I could access all the files on my hard disk. It shows an error message attached with this thread. The system boots perfectly and work perfectly. "Laptop 2" and "Laptop 3" disappeared.
I searched the net and found ways to mount the Partitions with these following commands. sudo nano /etc/fstab # /etc/fstab: static file system information. # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5) .....
Is there any way I could use "Laptop 2" and "Laptop 3" as my mount points as it was earlier.
I woke up this morning to a non-booting 9.10 computer. After my grub screen disappears, I get the familiar Ubuntu b/w logo in the center of my screen. My hard drive cranks for an abnormally long time and then I get the following error:
I booted into a live CD and opened up GPARTED and my sdb4 (my /home location) partition shows up. I do a check on it and it seems ok.
I opened the Palimpsest Disk Utility to see what it said and it shows sdb4 as Unknown or Unused. I can not mount this drive using GUI methods.
I did some research on the forums looking to recover lost partitions. here is the output from fsck
Code:
and the abbreviated output from fdisk -l
Code:
Disk identifier:
This seems ok too.
My next step was to try testdisk. When I ran it, I was able to navigate this partition and apparently see all my files. I then tried to mount the partition manually.
Code:
That also worked.
It seems to me that I practically have this thing where I need it without too many worries.
My question is: What is the next step to get this back booting again? I'm afraid of rewriting the partitions in testdisk until I get some feedback on whether this will really solve my problem. Maybe the partition isn't the problem? Is it something else and I've been going down the wrong path?
Every time my kernel is upgraded (happens often), I reboot and forget to reinstall the VirtualBox guest additions, so my partitions in fstab that use vboxsf (for shared folders) are hosed.
I have a Windows partition encrypted with TrueCrypt. If I start TrueCrypt (or RealCrypt) I can mount the partition through the GUI. before I encrypted the partition I used to auto-mount it at boot using fstab and it would appear in my places bar in the file managers. Is it possible to auto-mount truecrypt partitions from fstab?
I'm using Kubuntu 9.10. Partitions get listed in the sidebar when I open the File Manager, but they don't get mounted under /media until I click on the entries. I do not want to use /etc/mtab and mount them under folders I create in /mnt; would prefer if there was a way to mount the partitions without Kubuntu waiting for me to click on the names.
According to a couple of different places, it's not possible for me to put a line in /etc/fstab to mount one of my partitions with owner and group not root; instead, I have to mount it in /etc/fstab, then chown & chgrp to my user. That seems ridiculously tedious and silly... is it true? I'm sure a short script could be written to get around it, but it seems obtuse for Linux not to allow that to be set in /etc/fstab.
I am trying to setup fstab to automatically mount my NTFS partitions. I have used various Mount managers to create the entries in fstab. The fstab seems fine, but when mounting at boot or even via Nautilus I get the error message that I do not have permission to mount the disk.
1) Can this permission be set in the fstab file? If so what is the syntax of the fstab entry?
2) If not, is there a tool i.e. GUI to set the mount permissions?
I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.
My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.
So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?
And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.
I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
i have a code written in c..for which i was trying to create a gui using Gtk+.but now i want to use qt4 for the same purpose but native language of qt4 is C++. i have to do library binding for my C code to develop a gui using qt4.
Each time my machine reboots, it takes about 2 minutes for an attempt of the YP server to bind (then it fails).
Code: jim@LinuxBox:~$ /etc/init.d/nis restart start-stop-daemon: warning: failed to kill 2469: Operation not permitted * Starting NIS services * binding to YP server... * .... --> repeats 10 times <-- * .... [fail] [ OK ] jim@LinuxBox:~$
The previous is a YP server command while running. What happens at boot time is similar. I think I need NIS for my work. This looks like an old common problem (maybe on AMD64 - Ubuntu; which I have). The following link has a good description of NIS and this particular problem. It is a complex problem that I am spending some time working on. It looks like my problem may be that an NIS master has not been created. [URL]. I am trying to share files and run remote desktop with XP machines on a local network. The lack of NIS server may be contributing to my difficulties.
I'm slowly coming to terms with Gnome 3 but one thing I can't get used to is using the "Windows Key".
For me it's a difficult key to use regularly. What I'd rather to is remap the "Switch between overview and desktop" action to alt-space, which I am used to from "Launchy" which I have been using in Windows for some time.
A couple of issues though - this is already mapping to "Activate the window menu". I never use it though. Are there any implications of remaping it?
Secondly, what is the command I need to map the key to, in order to emulate the Gnome 3 "Windows Key" behaviour?
I just wonder, is it possible (using Linux 2.6) to limit overhead done by ethernet interface to one specific core. Ie. I have core2duo CPU, and two ethernet interfaces: eth0 and eth1. Is it possible to move system load caused by packets comming on eth0 to CPU0, so the other core (CPU1) will be idle?
i moved to 10.4 and would like to set a key-binding to the "window key" for "Hide all normal windows and set focus to the desktop". This option was possible in 9.04. No when i go to System > Preferences > Keyboard-Shortcuts and try to change the shortcut to the above function it does not accept the win-key as a shortcut.
I connect to my corporate LAN(dhcp) using a wired connection and also connect to a WLAN(dhcp) without various constraints applied by the wired connection. In short my wired connection blocks outbound ssh traffic to my server at home. My WLAN connection is pretty lax so ssh connections to my home webserver can be made using the wireless connection.Can I route ssh to that particular ip via my wireless connection?
I'm trying to migrate over to Ubuntu, and there is one really useful feature that I would like to replicate in Gnome. In Windows, I can hit the "Windows" key on my keyboard, which opens up the start menu.
Is there a way that I can replicate this behaviour in Gnome? Can I map the Windows key to opening the Applications menu?
I can find eC-f and eC-b in /etc/inputrc and they work. However, I find the eC- key combination a bit of a finger reach and I use forward-word and backward-word a lot so I wanted to add a key modifier combination that was easier. I have tried several different versions of key binding in ~/.inputrc but nothing seems to work. Here is the latest version of my .inputrc:
# Bill's inputrc for ReadLine # '$include' directs readline to the file # with 'universal' settings. # Place 'export /etc/inputrc' in .bash_profile
[code]....
Meta (ALT) -b works (does backward-word) for some reason but M-C-b doesn't. Meta (ALT) -f gives me the window menu, as it should. I don't want to change that. But ~/.inputrc gives me nothing with ALT(Meta)-CTRL-f. I was kind of hoping to figure out how to substitute M-C- for e on my local or users .inputrc and readline for many of my user's bindings.
I have a problem with GNOME and virtual desktops. I use Compiz, and when I use the keys to rotate the cube the cube will spin, but all the programs remain in the panel. It works if I manually press the buttons on the "Workspace Switcher" which I've included on my panel.can I create a key-binding for the Workspace Switcher so I don't have to press on the buttons on the panel?