Ubuntu :: Automounting A Specific Partition On Secondary Drive
May 29, 2010
I'm using rsync and crontab to do automatic backups from my /home partition on /dev/sda to my backup drive /dev/sdb3. The backup partition is ext4.
But the backup partition (sdb3) is obviously on a secondary drive, and I want to automount it when I log in. I read that you have to edit /etc/fstab to do this, but I'm not familiar with the process and can't find clear enough instructions, so I was wondering if someone could give me the command I need and maybe explain how it works?
I'm running 10.10 and Windows 7 dual boot. I already have lots of music and videos on the Windows partition and I would like to share it with ubuntu partition. I can if I mount it every time manually, but i want the partition to mount automatically so that when I use Amarok for example i don't have to rescan the music files on every startup.
I am having trouble automounting the ntfs partition. When I try to access the mounted partition, I get an error saying that I don't have permission to view the files. Also, I am not able to change the permissions as root.
I have a home server running from a Kubuntu install. I am using a partitioned external hard drive to store media. I have been suffering from power outages and I have discovered my external drive will not automount. How do I get my drive to mount at boot?
I have an lvm volume group VG_GUESTS and inside it alogical volume LV_NTFSDATA that was connected to andformatted to NTFS by a guest virtual machine (KVM). I can mount the 1st NTFS partition on that lv manually like this:
Code: sudo kpartx -a /dev/VG_GUESTS/LV_NTFSDATA sudo mount -t ntfs-3g /dev/mapper/VG_GUESTS-LV_NTFSDATA1 /mnt/NTFSDATA1
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
I upgraded to F15 and now my Plextor DVD PX-712A drive will not mount.My CD-ROM will mount fine.My optical drives kept auto closing right after opening, but I did find a solution in this fourm to that problem which was editing the sysctl.conf file.But like I mentioned I cannot get any DVD rom to mount properly. I have used disk manager and I can see the DVD drive listed.I have told disk manager to mount the DVD but I still cannot find it in Dolphin.Also, a strange problem is that in Disk Manager trying to speed test any of my optical drives fails, it says that the transfer rate is too slow to measure.
I've installed Fedora 10 short time after it came out. Now I am having some problems unmounting thes drives on restart or shutdown. It hangs at the stage of 'unmounting file system'. I've looked into this matter and discovered that those drives are automatically mounted and shown on the Gnome file browser. As the /etc/fstab indicates, it is not mounted by it. I must have done something to have all the hard drives shown in the file browser and now Fedora seems to be unable to unmount them.
# # /etc/fstab # Created by anaconda on Mon Sep 7 20:25:11 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk'
I have a second 8GB partition but for some reason I cant write in it at all. I formated it but still doesn't let me write in it. I tried doing this:Quote:sudo chown -R username:username /media/BTBut this is what I get:Quote:
chown: changing ownership of `/media/sda2/FOUND.000/FILE0000.CHK': Operation not permitted chown: changing ownership of `/media/sda2/FOUND.000': Operation not permitted chown: changing ownership of `/media/sda2': Operation not permitted
I used to know how to access and rw other linux drives and do the fstab magic. For some reason I've lost my touch. I just want the drive to automount and have full access. I don't need a beginners tutorial on mkdir and fdisk -l. Is there a foolproof way to get my drives to do what I want? I dual boot fedora and ubuntu, but have the same issues on both.
linux newbie and i made a mistake while installing windows and linuxI made 4 primary partitions for my HD as i didnt know that only maximum 4 primary partitions are allowed.Now 25 GB of my HD is wasted. It is shown as unusable.CAN ANYONE PLEASE TELL ME IF I CAN CONVERT MY WASTED 25GB INTO SECONDARY AND USE IT WITHOUT FORMATTING AND RE PARTITIONING MY ENTIRE HD ???
I am trying to access a mounted secondary drive through FTP, and when I try to connect to it I am not able to see any of its contents. Any suggestions? I am using Gadmin-proftp to configure. I can point it to any other folder on the main drive and see it perfectly.
I just installed ubuntu, this is my first time with it so excuse my ignorance regarding it. My issue is that ubuntu does not show my secondary slave seagate hdd .. it only shows and installs on my western digital master primary one. I need to have access to my slave drive because it has data on it which i wanna use. My secondary slave shows up in my windows and bios just fine. So what gives?
I am running Ubuntu Server and I recently added a new hard drive to the mix. Not replacing the old one, but adding a second one.What I want to know is how to I access that hard drive? I know in the desktop version it auto adds it, but not in the server version I checked my media folder.I installed it to be my new Samba share hard drive. So how to I get at it to use it?
I have two hard drives in my computer, one for the operating system and the other solely for storage. They both have ext4 filesystems. Is there any way that i can have my storage hard drive to automatically mount on start up?
I've read the official documentation regarding hard drives and partitions. My pc has two hard drives. a 160gb primary hard drive with windows 7 a 1.5 tb secondary hard drive with about 80gb of free space I would like to know whether I can install ubuntu on the secondary hard drive, without touching any of the data present on that drive. From my limited understanding of storage, files are written all over hard drives during copy, move etc... Is the ubuntu partition manager smart enough not to overwrite any files during installation? Will I get a warning if there is a risk of any data loss on the secondary hard drive? I cannot backup any of the data on the secondary hard drive due to all my external drives currently being full.
I have a secondary drive on my new RedHat Linux computer and I want to make it permanently accessible from the RedHat system that is now running on the computer.
It is an old Windows NTFS drive that was a secondary drive when this was a Windows machine.
What do I need to do to, and how do I do it: 1) Format it into a format that Linux uses. 2) After it is formatted correctly, permanently mount it so it will always be accessible 3) After it is successfully formatted and mounted, how do I access it? (For example, to add a new ascii text file to it via 'cp')
I successfully installed Samba, but have problem with access to any shared folder on my secondary drive. If I try access secondary drive with admin user, everything is fine. If with another account try to access via samba to shared folder on partition with Ubuntu, everything is fine again. Every folder has set privileges to read&write to everyone, so shouldn't be problem here.
I've recently set up a fedora 13 machine to use as a media server, I've been able to get everything going except samba. I've installed a second hard drive which is mounted at /media/Core and works fine on the local filesystem. I can browse the share from my mac however when I connect I get this in the smb.log file
I'm pensioning off my 10-years-old home server and replacing it with an Ubuntu 10.04 box. The two storage devices are a Western Digital Caviar Green 2.0TB HD and an Intel X25-M 34nm Gen 2 80GB SATA II 2.5inch SSD (the box has 8GB RAM and an i5 750, if it matters).
I don't care much about boot times (since I don't plan to reboot all that often;-); the main frequent, performance-demanding task will be (re)building large open source C or C++ software packages from sources (as an open source contributor, I do that often).
So, I thought I'd keep the SSD as the secondary drive and the HD as the primary one, using the SSD mostly for the files that can otherwise demand a lot of seeking (esp. in a parallel make).
However, the friendly vendor (perhaps more experienced in Windows systems than in Linux ones) thinks the "normal" way to configure the machine would be with the SSD as the primary drive. I'm pretty rusty on configuring and tuning systems, so, I thought I'd better double check on SuperUser.
I am working on a computer that the hard drive crashed. Inititially they had a virus, reloaded windows, and had the computer up and running. When downloading software it crashed and will not boot. I have tried all the numerous routine fixes with no success including using the repair discs. The repair discs no longer work and they are unable to get a second set. As a last resort I am able to access the hard drive when booting from Knoppix from a CD. There are a couple things I would like to try from Knoppix, but do not know if it is possible. First, Is it possible to load the boot files from knoppix? Second, can you roll back the drivers from knoppix?
Having just moved to Linux from Windows, I have never considered whether or not to partition my 250 GB external hard drive. As of right now it will only be used for data storage. Should it be partitioned? If so, what size partitions?
My Red Hat EL 5.5 64 bit edition, I've install it on my primary hard drive 12 GB it works fine and then I added secondary 20 GB hard drive (sdb1) into this system and then format it as VolGroup01 see the attachment, but how come it doesn't show up ?
I have a 6TB external eSata bay (Lacie BigQuadra). I made a GPT table with only one big ext4 partition. All was ok. I resized the ext4 partition and I created a 1TB NTFS partition. I can use it on Kubuntu but Windows 7 tell me the partition is not formated. When I go back to Kubuntu, parted tell me that the secondary GPT table is not at the end of the disk and tell me it's probably an other OS that thinks the disk is smaller that its real size. It seems Windows 7 thinks the disk size is 2 TB (and modify automaticaly the GPT table and create a secondary GPT table on the middle of the disk).
What can I do to make my NTFS partition visible in Windows 7? What can I do to prevent Windows 7 to move the secondary partition table on the middle of the disk and to modify the primary GPT table ?