Fedora Hardware :: Find The Volume And Mountit Or Set Fstab To Create The Mount Point
Jan 13, 2010
Gateway m275 laptop with builtin smartcard reader. I've done modeprobe - <mmc module of all types> after having removed modprobe.conf file. I see that there is a pcmcia rules, Do I add all modules to this list so hat it can be probed. Once pccardctl is working, how do I find the volume and mountit or set fstab to create the mount point or to have it automatically mounted in media.
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
When I plug in a USB in Lucid, it gets mounted at /media/usb0 , etc. I'd like it to mount as /media/<volumelabel>. I know HAL is gone and things have changed, but I'd like to still have the USB mounted at /media/<volumelabel> as it used to, as I got scripts that use those mount points.
using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?
My current pc running on LINUX raid 1 with both 80bg hdd, the /dev/md0 is growing. Either a) I need to create another mount point to utilise the space.How i do this ? OR b) Clone the existing 80gb with 250gb, so /dev/mdo got more space?
# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/md0 20161084 15577508 3559440 82% /
I just installed pysdm so I could configure what drives mount on boot, and now when I go to access my external harddrive, this is what I get:
Unable to mount Hard Drive
Error mounting: mount exited with exit code 1: helper failed with:
[mntent]: line 11 in /etc/fstab is bad [mntent]: line 12 in /etc/fstab is bad [mntent]: line 13 in /etc/fstab is bad [mntent]: line 14 in /etc/fstab is bad mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
The problem I'm having didn't seem to be covered in other posts. Despite following what is supposed to be a straigtforward method, I am still unable to mount /dev/sda1.
Using Ubuntu 10.04 LTS LiveCD - Lucid Lynx
sudo /bin/bash fdisk -lDisk /dev/sda: 250.1 GB Disk identifier: 0xa08ea08e Device Boot Start End Blocks Id System
[Code].....
I find it strange that fdisk sees the drive but mount doesn't.
The space in the volume name seems to disagree with fstab and terminal, I can't change the volume name either as I do not have access to Windows at this time. Is there a way I can help fstab or the terminal to recognize the space in part of the volume name?
I can access the files I need by using the telnet command, but I need to have access to the files in my local file system. Is it possible to mount a shared drive over telnet in the fstab file?
I used the usual 'mkfs.xfs -l size=128m,lazy-count=1 /dev/sdX' at creation. After that, I would like to use custom mount options like: This goes instead of the "defaults" part in /etc/fstab
I receive the following error at boot: INVALID log iosize 4 [not 12-30] << No one used iosize 4... what does it mean? it is connected to the options..but which one? (At the minute I'm usig it with: noatime,nobarrier).
I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ) having OS OEL 5. After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the mountpoints dont respond. While executing df -kh, the output hang out and the /var/log/messages show the following message:
May 27 15:48:56 earth mountd[3078]: Cannot export /NFS, possibly unsupported filesystem or fsid= required May 28 04:04:20 earth kernel: nfs: server nas not responding, still trying May 28 10:11:51 earth kernel: nfs: server nas not responding, still trying
The fstab entries for /NFS mountpoint on both servers is : nas:/NFS /NFS nfs rw,bg,hard,nointr,tcp,nfsvers=3,timeo=600,rsize=32 768,wsize=32768,acti meo=0 1 2
/etc/export entries on both server is : /NFS *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
I have been trying to work out how to set up Fedora 15 to automatically mount an NFS share at boot time. I can mount the share interactively using 'mount -t nfs server:/usr/local /usr/local'. When I put the entry in /etc/fstab, it stops the machine booting. It tries to give me a shell ('Enter root password for shell or press Control-D to exit') or something close to that. However, I cannot enter the maintenance mode, it hangs. Same thing with pressing control-D, it hangs and doesn't get any further.
I rescued the system by booting off a CD, mounting root, and removing the nfs entry from fstab. After that it booted fine. The entry I had in the fstab is: nfsserver:usr/local /usr/localnfsro,hard,bg,intr,comment=systemd.automount0 0
I put the 'comment=systemd.automount' entry in because of some related searches I did in forums.
I have two mount points that used to work. I have them defined as cifs shares in fstab, and they map to a Windows machine, which I am able to ping from my Fedora machine, but for some reason I get a mount error 2, and the destination is not accessible. The man page doesn't really give any troubleshooting steps. Since I am mounting by IP address (which as I said has worked before), nothing has changed, although the IP address did change, which I updated in the fstab file to the new IP address (and since I have reserved this new IP address so it can't change again!)
I ran a test and shared a folder from another one of my computers, and added a line in fstab to auto-mount that, and I get a "permission denied" error 13, which is different than the error 2 I get on the other 2 shares. What should I be looking for as far as actual connectivity between the machines? I have verified that the windows machine is on and I can access the same shares from another computer.
Update: Added the host and IP address to my hosts file, and replaced the IP address with the name, and still get the same error. Also, the share name has a space in it, so I replace that with a "�40" space character (which worked in the past). I tried replacing that with an actual space, and putting quotes around the URL, but then I get a "bad URL" error.
This works just fine for Fedora 14 but on Fedora 15 the mount point disappears on reboot ie there is no /media/a500 folder. a500 appears under devices in Nautilus and mtpfs is ok as I can mount the device via the command line by creating the mount point setting ownership and running
I have set up an encrypted ext4 partition on a new external USB HDD. When I plug it in, some sequence of a daemons and scripts cheerfully puts up a dialog to ask me for my pass phrase and then creates a mount point and mounts the drive in /media. I'd like to know how to configure this process to change the name of the mount point (right now it's an unwieldy hex string), it's permissions and ownership. I'm sure this is straightforward, but I just don't what the relevant programs and files are.
I have just been gifted with a Linux dedicated server for the next six months, with an option to renew after that time has expired, and I'd like to set it up for FTP/P2P use. I do have some familiarity with Fedora from work, but only as a pre-installed desktop OS. The company providing the server has asked me to choose a OS, so of course I picked the one with which I already have some knowledge. They've also asked me to provide partition and mount point information, and it's here that I'm having some problems. I've spent most of my free time today reading everything I could about partitioning for a server, and I'm still not comfortable making this decision on my own.
The server comes with two drives - one 500GB and one 1TB, and 8GB RAM. My thinking is to use the 500GB drive for the OS, and the 1TB for media storage. I know I still have a good bit of learning to do, but I just want to get the blasted thing set up so I can get on with the hands-on part of figuring out how it works.
Our office just switched from CentOs to Fedora and I'm trying to get everything set up. Everything is working so farbut im having a problem with my mounted cifs drives. They mount ok, I made directories in /mnt where the drives are readable and accessible. I'm only missing the shortcuts to the mounted drives in nautilus and on the desktop. I've checked the gconf editor and the volumes should be visible.Is there an extra option i have to add in the fstab line to get the shortcuts or something like that?
I am trying to mount a directory from my server onto my wireless laptop. The directory mounts successfully if I am already logged into the laptop with another account first but if I log on initially with the user who requires the mount the mount fails. I suspect the mount is taking place before my network connection is up, is it possible therefore, to delay the mount in fstab until the network is fully connected?
i am installing onto a serperate partition so that one is windows and the other is linux. im in the meddle of creating it right now but im stuck on the mount point. were should the mount point be? also should file system type be ext4? and under additional size options should it be fixed size, fill all space up to______, or fill to maximum allowable size?
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
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?
When I attach my ipod it gets automatically recognised and mounted to "/media/user's ipod". This is great but I would like to change the mount point to just "/media/ipod/" as it easier to use with gnupod (command driven ipod access oh yes!!) I've had a look around and I know how to mount devices but I'm at a lose as to how things in fedora are automatically mounted... I use gnome so from what I've read hal, dbus, and udev yeah? but I'm not sure what configuration files need to be changed. At the moment I'm just wanting to change the ipods mount point but I would like know more so any technical how-to or articles, or things to look at (I'm thinking X), to understand auto mounting would be nice too.
I have two NTFS volumes I want to automount at boot. I can't get my user account to mount them in Fedora 10. I keep getting the message that the two lines I have edited in fstab are bad. The volumes are sda2 and sda8, and the volume names are SPACELAB and Spaceman. I also need to be able to mount an NTFS usb drive from time to time. I am getting frustrated, so I have posted my fstab file below,
# # /etc/fstab # Created by anaconda on Sun Mar 1 12:44:11 2009 #
With a 1Tb USB drive plugged in, we'll call it "TheDrive", I boot my machine and "TheDrive" is mounted automatically. The icon is on the desk-top. "TheDrive" mounts to /media/TheDrive. Everything is fine. But, I would like to automatically mount the drive in my file tree at the location /mnt/TheDrive. I would not like to have the drive automatically mounted to /media/ and appear on the desktop. I know that this requires the use of fstab; but, I do not know what to add to this file.
I have a second hard drive with fedora 10 installed on it. My primary drive and os is fedora 12. How do I edit the fstab file in order to mount the second hard drive and get files off of it
On SUSE 11.2 when a CD or DVD is automounted (in the /media directory) it appears that the mount point chosen for the disk always has extra blanks at the end of the mount.
For example, if the label on the CD was DISK-001, the mount point chosen by SUSE is
/media/DISK-001 /
In 11.1 (and earlier) the mount point would have been
/media/DISK-001/
I'm assuming that the trailing blanks are filling in unused or blank chars at the end of the CD label.
Is there any way to change this annoying behavior? I much prefer NOT to have trailing blanks in the mount point.
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.