Mounting Separate Partitions That Are Not "normal"

I want my Plex Media Server, Web Server, and Honeypot running on separate partitions. I've formatted them how I want:

SDA7 is my MediaCentre, formatted in XFS, I'd like this mounted as a separate partition and I'd like this to be the location of the Plex Media Server.

SDA8 is my WebServer, formatted in ext4. I'd also like this mounted as a separate partition and be the location of my Web Server (Probs use LAMP and an FTP Download Client).

SDA9 is my Honeypot server, formatted in XFS. Again, I'd like this to be mounted on a separate partition and will be where my Honeypot Server lives.

I'd also like all three servers to be running on VM's to help isolate them.

How do I go about accomplishing this? I'm a Windows native. In Windows I'd have partitioned everything, Created the virtual machines, moved them to their respective partitions, then installed all of the applications.

First things first, how/what do I mount these drives as? Can I just mount them as /mnt/mediaserver and /mnt/webserver etc? Will these mount points then be recognised?


Similar Content



Have Multiple Partitions For /var Along With A Partition For /var Itself Useful?

I'm setting up a new Linux server and trying to get the best performance from it, along with if any directory fills up, then I won't have to worry about the whole OS.

I want to split up /var into various partitions, such as the following:

/var/cache

/var/log

/var/software_install

Will there be a problem with having these separate partitions and still having a separate partition for /var too?

Or should I plan on just a separate partition only for /var only?

thanks

Creating A Mount Point For A Partition From Live USB

Hello all,

I was working through LFS 7.7 Chp 2.4 and mounted a wrong partition to /mnt/lfs.
I did the following commands while trying to mount the correct LFS partitions:
mount -v -t ext4 /dev/sda8 /mnt/lfs
mount -v -t ext4 /dev/sda9 /mnt/lfs/home
but I was supposed to mount sda11 and sda 12.

Now the system won't boot past the splash screen. I tried booting into a live usb and typed in the following commands
mount -v -t ext4 /dev/sda8 /
mount -v -t ext4 /dev/sda9 /home
but the system still won't boot past the splash screen.
Both gparted and the partition manager for the installer don't show a mount point.

How do I create a mount point from USB or is there another problem/solution?

Thanks

Linux File Server

Hello Everyone
I have installed Ubuntu Server on a 500 GB drive formatted as EXT4.

Of of my Media, movies, music and pictures are from Windows PC's formatted in NTFS.
As all of the computers connecting to the server will be windows based will NTFS be fine or will I have to reformat them to work. The two media drives are 2 x 2GB Sata drives.
Could you tell me if this setup would work or will I have to reformat and and transfer the files to a new filesystem.
Also as a file server whats the best linux file system to use so it will work with windows PC's in a lan flawlessly.
Thanks for you expertise.
Regards

Image A Bootable CF Card With Multiple Partitions

Hi all,

As you can probably tell I am new to Linux and new to the forum, I am using Kali and Mint both as live Linux environments on USB drives, all is good and I am finding my way around, the reason for the post is that I need to copy 15 CF cards that have multiple partitions, Windows isn't really an option as it can only see one partition on a removable drive, so here goes with Linux.

The CF cards contain Windows Embedded XP in one partition and a separate partition for user data which isn't protected, not that the contents matter, only the fact that it is bootable with multiple partitions, the object is to upgrade the old 2gb cards to 4gb cards to add an additional program on the embedded drive, but they are both full.

as long as I can copy both partitions over the partition size doesn't matter as I can resize that if necessary, but I need both partitions to copy over to the new drive.

I have read that dd command is the way to go but cant find much on multiple partitions which display in Linux as two drives, so how do I go about this, any pointers

Ideally I would like to automate the process as this is something that we could end up doing on a regular basis, I have seen a USB drive that was plugged into a PC and through a basic GUI allowed you to copy a HDD but I don't know If that would do both partitions, something for the future?

Location Of Plex "Data" Folder When Installed On Arch

Trying to get my media server up and running again. In order to size my partitions correctly though, I could do with knowing where Plex Stores its "Data Folder" as spoken about in this clip at 7:50.

Any ideas?

I've found this page, but just wanted to confirm that this was the folder talked about in the video.

Any info would be good.

Cheers,

Skat

How To Duplicate A SD Card With 2 Partitions Under Debian

For my cell phone, I used an app named link2sd with a SD card. Because the current 8GB card is filled up, I got a 32GB card to take its place. For the link2sd app, the SD card is partitioned into 2 partitions. First partition is formatted to fat32 and the 2nd one is ext2 format. What is the proper way to copy content of these partitions to the new card? Thanks in advance.

Looking To Build A Linux Server, But Have Requirements, Not Sure What To Use Or Build

Hey Everyone,
I'm pretty new to linux, I'm a long time mac user, and have been using a Mac Mini as my Plex and wordpress server for some time. Looking at Apples latest generation of Mac Minis, it looks like they no longer are a great option for servers. So here's my setup and wants in a nut shell.

Currently my Mac Mini hosts 3 wordpress sites and is my Plex server. The machine is running OS 10.10.2 Yosemite with Server running, and has 2 Drobo Gen 2 devices attached via Firewire 800.

I use 1 Drobo for my Plex Media, and the other drobo is used for machine backup.

Reading online, Looks like the Drobo 1 and 2 Genereations only show up as 2TB max segments on Linux So I would scrap the Drobo cases and put all the drives internal into the linux server tower.

I want to build a new Linux server that can take over these tasks. So my wants would be, A linux server that can host more than 1 wordpress site, run plex, and would have a RAID setup similar to Drobo, where I can add more drives or replace smaller/failed drives easily enough (doesn't have to be automatic rebuild like the drobo, as long as its possible and not to tricky to do)

what Linux Server OS and other options should I be looking at?

thanks everyone in advance!!

Home Server Setup Recommendations

Hi Guys & Girls

I'm planning to reuse my old hw for a home server based on debian.
I want to provide my lan with 4 to 5 services like router/dhcp, tftp, pxe/fw, nfs-server, media-server, clonzilla-server, squid-dansguardian and eventually later on a small mta/webmail, horde solution.

How would you set this up?

An all-in-one machine running natively on the hw or separate vms @ kvm?
I would also like to have a stable and good manageable backup architecture, like using a central clonezilla server instance to pick up everything from the other services.

Greetings and thanks a lot

vi

Auto Mount 2 Hard Drives Attached By USB To Router

Hi all. My first time post and very new to linux.
I am using linux Mint Debian version.

My goal is to auto mount 2 external harddrives (Each hard drive is 2TB) attached to the 2 usb ports on my asus wireless router model rt-n56r.

I have succeeded in auto mounting my first drive HDD1 by configuring fstab file:

//192.168.1.1/HDD1 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

At boot this partition is mounted without issue.

In attempting to mount the second hard drive HDD2 I added another entry in fstab as follows:

//192.168.1.1/HDD2 /media/public cifs username=**,password=**,rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

It appears that both HDD1 and HDD2 mount however, when entering the partition only files and directories of the second hard drive appear.

So I changed the mount point in the second hard drive to reflect /media1/public1 and after the configuration neither hard drive appears to have mounted.

I tried using UUID instead of path to partition but cannot get even 1 attached hard drive to mount.

I appreciate in advance the help and assistance to my query.

My Debian 7 Installation Created More Than 4 Primary Partitions On My MBR Disk!!!

Hi

I am very suprised! I previously had a Windows 7 desktop, dual boot with Windows Server 2012 R2. I didn't care much about 2012 R2, so I went with a Debian server on another computer.

I wanted to triple boot my computer, so I looked at my BIOS to see if my computer has UEFI support, but it doesnt, so I am not able to boot to GPT. One decision lead to another, and I decided not to install Hackintosh. As part of this process, I had converted it to GPT, and then back to MBR when installing Windows 8.1 Pro. Everything went well.

When I went to install Debian 7, it was not recognizing anything on that drive. I found out it was a backup GUID partition table left over. I used fixparts found on rodsbooks.com, and I fixed the disk partition table.

Now this is where things get weird. Before installing, I created a primary partition for /, and an extended partition with 5 logical partitions inside it. I installed Debian 7 from a live install DVD, and I manually created the partitions. I created a 4GB /, 16GB /usr, 4GB /var, and 64GB /home. Then I left a bunch of free space (~145GB) and then 16GB swap space. (I have 8GB ram, and I plan to hibernate sometimes).

After a successful installation, installation of packages, reboots, and frustration with PCI card problems, I rebooted to Windows 8.1.

Upon opening diskpart gui, I was greeted with the picture attached.

WHAT IS GOING ON?