Software :: Binding LVM Partitions In Fstab ?

Feb 18, 2011

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).

my fstab:

Code:

View 3 Replies


ADVERTISEMENT

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

General :: Mounting The Partitions Without Fstab?

Jun 23, 2011

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?

View 6 Replies View Related

Debian :: Mount NTFS Partitions In /etc/fstab?

Jun 29, 2010

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).

View 5 Replies View Related

Ubuntu :: 9.04 - Mounted Partitions Disappeared (Fstab Is Bad)

Jan 14, 2011

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.

View 9 Replies View Related

Ubuntu :: FSTAB Timeout - Recover Lost Partitions ?

Feb 21, 2010

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?

View 4 Replies View Related

Ubuntu Servers :: VirtualBox - Partitions In Fstab Hosed

Jun 23, 2010

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.

View 1 Replies View Related

Debian Configuration :: Broken Trash From Fstab-partitions In Nautilus

Jan 21, 2016

On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:

UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.

View 1 Replies View Related

OpenSUSE Install :: Auto-mount Truecrypt Partitions From Fstab?

Jan 14, 2011

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?

View 2 Replies View Related

General :: Automatically Mount Partitions Under /media Instead Of Clicking Without Fstab

Mar 29, 2010

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.

View 5 Replies View Related

Ubuntu :: Put A Line In /etc/fstab To Mount One Of Partitions With Owner And Group Not Root

Jan 9, 2010

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.

View 9 Replies View Related

Ubuntu Security :: Forbid Non-root To Unmount Fstab-mounted Partitions?

Jan 4, 2011

Is it possible to forbid a non-root to umount a partition that was mounted via fstab-entry?

View 2 Replies View Related

General :: Setup Fstab To Automatically Mount NTFS Partitions - GUI To Set The Mount Permissions?

Feb 10, 2010

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?

View 14 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

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.

View 4 Replies View Related

Ubuntu :: Rename The Fstab-BAK To Fstab?

Jan 19, 2010

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.

View 9 Replies View Related

General :: E16 Key Binding ?

Dec 1, 2010

I need to know how to set my Windows key + Key global shortcut on e16 1.0.7 stable.

View 2 Replies View Related

Ubuntu :: How Set Key Binding From A Terminal

Jul 18, 2010

I'm trying to make a script that adds a systemwide keybinding, but I can't find a way to do it from a terminal.

View 9 Replies View Related

Programming :: Qt4 Library Binding With C?

Jun 17, 2010

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.

View 5 Replies View Related

Ubuntu :: NIS And Binding To YP Server

Jul 14, 2009

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.

View 1 Replies View Related

Fedora :: Gnome 3 - How To Change Key Binding

Jun 28, 2011

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?

View 3 Replies View Related

General :: Binding Interface Per Core?

Jul 20, 2011

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?

View 1 Replies View Related

Ubuntu :: Terminator Delete Key Binding?

Jan 31, 2010

I've recently started using terminator. When using terminator, the delete key acts like backspace. in the ~/.config/terminator/config file I've tried:

Code:
delete_binding = ascii-del
and

[code]...

View 2 Replies View Related

Ubuntu :: Allow Win / Mod Keys To Have Dual Binding

Jun 17, 2010

I have creates this brainstorm topic in regard with dual nature of MOD key and to allow the mod keys to behave as independent key also.

[URL]

View 1 Replies View Related

Ubuntu :: Keu-binding Focus To Desktop?

Jun 24, 2010

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.

View 2 Replies View Related

Ubuntu Networking :: Binding SSH (client) To A Certain NIC?

Nov 23, 2010

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?

View 1 Replies View Related

Ubuntu :: Binding Windows Key To Applications?

Dec 3, 2010

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?

View 6 Replies View Related

Networking :: How To Tag Server Binding Interface

Dec 21, 2009

My query is how to tag Linux server bonding interface what mode I use for bonding in prospective of interface tagging.

View 2 Replies View Related

Programming :: .inputrc And Readline Key Binding?

Feb 10, 2010

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.

View 1 Replies View Related

Fedora Servers :: Apache Binding Only To Ipv6?

Feb 14, 2009

I just installed FC 10 and have apache running with the default config. the problem is that it is only listening on ipv6 for ports 80 and 443

Code:

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2059/exim
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2059/exim

[code]....

here is the only part in the httpd.conf file that seems to have anything to do with this:

Code:

Listen 80

which from my understanding should make it listen on all interfaces, ipv4 and ipv6

View 8 Replies View Related

General :: Create A Key-binding For The Workspace Switcher?

Sep 13, 2010

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?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved