LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Mount Seagate External in Ubuntu Server 12.04 (https://www.linuxquestions.org/questions/linux-server-73/mount-seagate-external-in-ubuntu-server-12-04-a-4175414329/)

Stevenie 07-01-2012 03:11 PM

Mount Seagate External in Ubuntu Server 12.04
 
I am trying to create a home network server to share files between my mac and my pc using a 2005 HP I have installed Ubuntu Server 12.04 on. I am following instructions (mostly) on linuxhomeserverguide.com and am attempting to use webmin to make the server work. I have the seagate drive plugged in and I am pretty sure it has been mounted. I just don't know what it is called and where it is mounted. I am new to the text-based command system, but chose not to intall a GUI. I'm not sure if anyone can help, but help would be appreciated.
Thank you so much!

Stevenie 07-01-2012 03:31 PM

If you need more information, please ask. I promise I'm easy to work with, I take criticism and advice well. I know I probably bit off more than I can chew, but everyone needs a hobby, right?

When I plug it in this is what I get:
stevenie@BurtonHomeServer:~$ [6760.290065] sd 7:0:0:0: [sdf] No Caching mode page present
[6760.291902] sd 7:0:0:0: [sdf] Assuming drive cache: write through
[6760.297924] sd 7:0:0:0: [sdf] No Caching mode page present
[6760.299660] sd 7:0:0:0: [sdf] Assuming drive cache: write through
[6760.322953] sd 7:0:0:0: [sdf] No Caching mode page present
[6760.325777] sd 7:0:0:0: [sdf] Assuming drive cache: write through

whizje 07-01-2012 04:05 PM

If you type mount you get a overview of the mounted filesystems.

Stevenie 07-01-2012 04:09 PM

OK, I did that. This is what I get:


stevenie@BurtonHomeServer:~$ mount
/dev/mapper/BurtonHomeServer-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda1 on /boot type ext2 (rw)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/home/stevenie/.Private on /home/stevenie type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig =18104b8e71878237,ecryptfs_fnek_sig=a30f1cc9f3a1084a)

whizje 07-01-2012 05:16 PM

Create a directory where you want to mount your external disk. For example in your home directory.
You have to create this only once. And then mount your external disk. You have to do this every time you connect the disk or you can add it to fstab.
Code:

mkdir ~/bigdisk
sudo mount /dev/sdf ~/bigdisk

Now you can access the disk through the directory bigdisk in your home directory.

Stevenie 07-01-2012 06:06 PM

Thank you for taking the time to try to help me through this. I used your code and created the directory, however it is telling me that I must specify the filesystem type. I'm 98% sure this is ntfs. [When I plug it into my macbook it comes up as NTFS-3g (macFUSE)]


stevenie@BurtonHomeServer:~$ mkdir ~/bigdisk
stevenie@BurtonHomeServer:~$ sudo mount /dev/sdf ~/bigdisk
[sudo] password for stevenie:
mount: you must specify the filesystem type


I'm just not sure how to specify it. I'm sorry I'm so new at this.

whizje 07-02-2012 09:55 AM

Code:

sudo mount -t ntfs-3g /dev/sdf ~/bigdisk

michaelk 07-02-2012 10:09 AM

I would expect the drive to have at least one partition. By the way most distributions will automatically mount removable drives at /media but it does not matter. How are you going to share your data? i.e samba or NFS etc

Quote:

sudo mount -t ntfs-3g /dev/sdf1 ~/bigdisk

Stevenie 07-02-2012 06:16 PM

Thank you, both of you! I really appreciate all the attention and time you gave my little problem. I also appreciate the fact that you were both polite, it's rare to find that on the internet. :-)


All times are GMT -5. The time now is 01:27 AM.