Lost On Unbuntu Linux File Systems

I am trying to create a combined media and storage server (NAS) on my new Unbuntu server. I have a 256GB drive as my boot drive and I have two 1TB drives that are empty. I want to use the two 1TB drives as storage for some important data and also for the media that will be played/collected for my XMBC server. I want to be able to access/manipulate these shares/files/data from my Windows computers over my home network.

I have Unbuntu 14.04 and Webmin installed.

I greatly appreciate any assistance. I feel like I am running around in circles on Webmin with this.


Similar Content



Why Can't My Windows Clients Write To My Samba Shares (Unbuntu 14.04)

I'm struggling with Samba with a new NAS/Media server I am trying to build. I have created some shares on my Unbuntu server with Samba that are visible and browseable from my home Windows 8.1 clients but when I try to write to any of them I receive a "try again" error.

I want to be able to copy files from my PC to my new Unbuntu server's shares. For now I have one user only on my Unbuntu server that's in the sudo group. From Windows I have tried to map network drive with "different credentials" but no matter what I try from Windows I still can't copy or move files from Windows to the shares.

Thank you

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

Samba Shares Not Available To Windows Machines On The Network

Linux 14.04 server set up following instructions on http://www.havetheknowhow.com

I have been trying to connect to the samba shares from two windows machines. The server is visible but when I try to connect it requests a logon and no matter what I enter it fails. I have been using webmin to set this up and the samba version is 4.1.6-ubuntu.
One note, webmin did not show any samba user groups.

all systems show "WORKGROUP" as the workgroup

Re-assembled Software Raid5 Now With No File System

Hi All

Please could someone assist me with a software raid 5 array issue i am having?

About a week or so ago i was asked to have a look at a mate of mine's Company Server that had crashed after a power failure - no ups and close to 9GB data with no backup.
HP Proliant mini server running OpenMediaVault v1.9. with a software raid5 setup consisting of 4x 3TB Western Digital Hard drives


The 80GB boot drive crashed (hardware malfunction) so i replaced it and installed the server with OpenMediaVault 1.9 as was previously installed. When starting up however i noticed that none of the shares were available and upon closer inspection discovered that the raid to had crashed. I therefore re-assembled the raid but now have no file system nor any partitions on any of the 4x drives.

This is about the extent of my knowledge base when it comes to Linux, and again i don't know that i'd want to risk it with no backup of the data.

I have run fsck /dev/md1, but this reports an error 2 while executing fsck.linux_raid_member not found.
Please i am desperate for some advise!

Thanks
Wayne

How Do I Recover Data From Lost Partition

Booted my computer with 2 USB flash drives inserted. One of the drives turned out to be an MS-DOS boot drive. The PC booted in DOS and wiped out the partition table of the other flash drive with my data on it. This second (64Gb) drive had a single 64Gb type 83 (Linux) primary partition (ext4 file system).

Is there a way to recover the data that's on the second stick?

I've been told that all I have to do is repartition it exactly as it was and my data will be there. But I'd like to have advice from the pros here before I start messing with it.

For the time being, I dd-ed the entire stick, as is, onto a blank partition of my hard disk (dd if=/dev/sdb of=/dev/sda14). The process completed without errors but /dev/sda14 is unmountable for the moment.

Thanks for any help.

Backups And External Drives

Hello everyone,

I recently had an issue where I lost my whole backup server due to an electrical overload causing my server to literally explode and fried all 4 of my terabyte drives.... needless to say, I have no more backups because of this, and everywhere I read about backups said that setting up a raid array would allow me to keep good backups.... boy did I learn this lesson the hard way in needing to have some sort of external backup option, which brings me to this post and my questions:

I'm using Ubuntu 14.04 LTS server on an older Dell Poweredge 600sc, and I was thinking of using WD Passport 1Tb external drives to be used as my "offsite" backup option. I don't have a lot of data, and my current backup schedule is only a weekly backup, so thinking that if I have two of these passport drives so that I can have one drive offsite and one attached to the server, and rotate them every 4 weeks so as not to loose all my data.

Here's my question: Ideally, I would love to just be able to unplug the current drive, plug in the new drive and have everything work. However, I don't see this actually working, but if there's a way to do this, that would be totally awesome.... ;-)

So, realistically, I know I will have to unmount the one drive, unplug it, then plug in the new drive and mount it on the system. Is there a way to mount this to the same mount point automatically so that I don't have to rewrite my backup script each time I swap drives out so that the backups go to the same mount point? Or will the UUID's get messed up each time I do this?

Hopefully this makes sense and an easy solution can be found to accomodate this idea.....

Thanks again for all your help. This site is awesome for newbies such as myself........

Mikey

1st Post, MDADM Issue

first off, hello all, I'm Gimpacause and I am just starting to use Linux again after about 12 years

I recently bought a Backblaze storage pod and Installed 15x6Tb hard drives (in Raid6+LVM) using this guide


recently due to a faulty UPS and power issues at my place, i have fried the mainboard and boot drive

i dont have anything backed up from my previous Ubuntu install


i have replaced the boot drive installed Ubuntu 14.04 LTS (including MDADM & XFSProgs) installed a replacement mainboard (exact same model/revision) can please someone point me to a guide , or advise how i proceed recovering the raid & lvm so my data is still intact, I have not attempted anything yet for frear of data loss

if you require any logs/information i am hgappy to provide them

many thanks

Install Onto Second Hard Drive

Hello

My harddrive on my home server computer seems to have corrupted, likly due to some recent power outtages (using it as a home nas, game server, nothing important really)...
It was previously running windows 7 because I took the harddrive from my old computer, but now as I have to format it anyway I might as well do it right.

Since my server does not have a CD drive (that works) I am hoping for a way to intall Debian onto the harddrive from my main computer (running windows 8).
I have plugged it in, and the drive seems fully functional.

I'm not very skilled with Linux, and am completely on bare ground. My googling has not come up with an answer that I have understood yet.

TL;DR - How do i install Debian onto a secondary harddrive plugged into my computer take this drive and put it into another computer and boot from it?

Dual Boot Windows / CentOS7 Problem

I have a Toshiba Laptop that had a Dual Boot of Windows 7 and Linux Mint 17 on it and both OS's worked fine. I've been wanting to use CentOS 7 as my primary OS so that I can become more familar with RPM management and proceeded to remove my Mint installation and replace it with the CENTOS 7 installation, and the install completed successfully. HOWEVER, here's my problem.....

When my laptop starts up, I don't see GRUB nor do I have any option of selecting whether to run Windows or CentOS. It automatically loads up Centos 7. When I do a 'sudo fdisk -l', I can see that SDA1 is an NTFS drive, and when I try the following 'sudo mount /dev/sda1 /media/Main\ Drive' I get an error message saying that I can't mount an NTFS drive.

Am I missing something or is there a way to access my Windows files from within Centos. I was able to do this with Mint without an issue, but unable to see any of my windows drives because I can't mount an NTFS drive.

I have no problem with keeping CENTOS as my only OS on this laptop, however, I do need to access the files from the Window's partition, and if anyone can help me to access my files, that would be totally awesome.

Thank you in advance for reading through this and for any help offered.....

Mikey

Question About Partitioning A 4TB Drive

Hello All;
I am building a Linux media server in my home and I am new to Linux.

Right now I am at the point where I am partitioning and formatting each of my 4TB drives.

I ran sudo parted on /etc/sdb
Then I set mklabel to gpt.

Now my question is about mkpart.

In order to use the full 4TB disk for data (Only one partition)

Do I set mkpart primary 0GB 3725GB
or
do I set mkpart primary 0GB 4000GB?

I don't want to enter a larger capacity than my disk will allow but I also want to be sure I am taking advantage of all of the available space.

Thanks.

Tim