Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to configure a Raspberry Pi to run as a file server, have installed SAMBA and have attached a 1TB external hard drive, which appears to have 4 partitions. Using Xwindows, I thought I had the advertised share mapped to the 1TB partition. So I physically placed the Pi in its permanent home (where it is difficult to get its video signal to a monitor etc.), so help with command line tools is best for me.
My problem is the share is acting like it only has about 2GB of space. And I am not sure why the mount command does not show me the partition.
I have attached to this post some output which has me baffled.
sda4 is not mounted. What is the output of "mount -a"?
Also, you shouldn't be using ntfs unless you absolutely have to. If this RPi is going to act as a file server in a closet and the external drive is not going to be removed, then get ntfs off of there and replace it with a native Linux FS like ext4.
Your root file system is also completely full, where did all of your space go? Did you dump files into /media/PAR1TB without a drive mounted there? If that's the case, they'll be dumped onto your SD card instead.
Last edited by suicidaleggroll; 05-01-2015 at 03:34 PM.
I straightened out the mess I made (you would have laughed or cried), and it now works (planning on keeping NTFS, as I have no other rig that can read EXT4 file systems).
Got the drive mounted with mount -a. But I cannot figure out how to get it to mount at boot time automatically - etc/mtab and etc/fstab look okay to me. Please see attached.
On this computer, I have two partitions on a external drive that I set to mount on boot using the "auto" option maples mentioned. Here are the relevant lines from my /etc/fstab (I used the UUIDs to identify the partitions):
Is the drive USB powered or does if have a separate power supply? At boot time there may not be enough current to spin up the the drive. Have you looked at the output of the dmesg command?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.