Sharing a second drive

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Sharing a second drive

Postby alandavid » Sun Jan 06, 2019 9:36 am

Hi

I am able to share part of the partion on a drive and access from windows ,but want to add /home

But the partition part shared is only 49 GB the drive is a 500gb but I cannot access it as a share

I have also added a second (also 500gb) drive but cannot see that either but want to use as backup/replication

MB0500EAMZD /dev/sda 33
WDC WD5000AAKX-08U6AA0 /dev/sdb 36

/dev/sda1 976 MB 829 MB 79.7 MB(9%) /boot
/dev/sda3 49 GB 25.9 GB 20.5 GB(45%) /
/dev/sda5 403 GB 383 GB 72.1 MB(1%) /home

I have very basic UNIX skills from 20 years ago but cannot see the syntax to utilise SDA5 ,I tried to mount on the command line but even though I was logged in as admin is said you need to run as root when I did SU none of the passwords that I used in setup worked as root

Any pointers really appreciated

Alan

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Re: Sharing a second drive

Postby alandavid » Mon Jan 07, 2019 8:58 am

I have solved the home drive sharing , but now just need to add the second drive and share that

Alan

User avatar
bigfoot65
Project Manager
Posts: 11235
Joined: Mon May 25, 2009 4:31 pm

Re: Sharing a second drive

Postby bigfoot65 » Mon Jan 07, 2019 10:36 am

Recommend you check out the adding a second hard drive guidance.
ßîgƒσστ65
Applications Manager

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Re: Sharing a second drive

Postby alandavid » Tue Jan 08, 2019 9:44 am

Hi

I have progressed with the guide but can't seem to work out the final stage and share the partition

This is what I get with fdisk -l

sdb is the second drive I feel I am near but no cigar yet!


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7cf7a418

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 10379263 8280064 4G 82 Linux swap / Solaris
/dev/sda3 10379264 115236863 104857600 50G 83 Linux
/dev/sda4 115236864 976773119 861536256 410.8G 5 Extended
/dev/sda5 115238912 976773119 861534208 410.8G 83 Linux


Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

User avatar
bigfoot65
Project Manager
Posts: 11235
Joined: Mon May 25, 2009 4:31 pm

Re: Sharing a second drive

Postby bigfoot65 » Tue Jan 08, 2019 10:06 am

I have progressed with the guide but can't seem to work out the final stage and share the partition
Create a share with the dashboard and make the path match the mount point for the drive.
ßîgƒσστ65
Applications Manager

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Re: Sharing a second drive

Postby alandavid » Tue Jan 08, 2019 10:16 am

Sorry to sound thick but how do I know what the mount point for the drive is ?

User avatar
bigfoot65
Project Manager
Posts: 11235
Joined: Mon May 25, 2009 4:31 pm

Re: Sharing a second drive

Postby bigfoot65 » Tue Jan 08, 2019 10:49 am

When you added the line to /etc/fstab, it would be the path such as /var/hda/drives/sdb1.
ßîgƒσστ65
Applications Manager

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Re: Sharing a second drive

Postby alandavid » Wed Jan 09, 2019 3:29 am

Hi I am still struggling

When I type in the command line I can see sdb at the bottom but in the amahai control panel I cannot see a partition how can I tell what I set up as cannot remember what I typed I thought I followed the instructions
is there some kind of command line I need to type to get the partition active or to see if its active please treat me as absolute beginner on Liuux

Thanks


[root@localhost ~]# ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0 -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 8 16:38 ata-MB0500EAMZD_9WJ1GTS0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jan 8 16:16 ata-WDC_WD5000AAKX-08U6AA0_WD-WCC2EZW58932 -> ../../sdb
lrwxrwxrwx 1 root root 9 Jan 8 16:38 wwn-0x5000c5003592140d -> ../../sda
lrwxrwxrwx 1 root root 10 Jan 8 16:38 wwn-0x5000c5003592140d-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jan 8 16:38 wwn-0x5000c5003592140d-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jan 8 16:38 wwn-0x5000c5003592140d-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jan 8 16:38 wwn-0x5000c5003592140d-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jan 8 16:38 wwn-0x5000c5003592140d-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Jan 8 16:16 wwn-0x50014ee20a223a09 -> ../../sdb

Amahai Dashboard
MB0500EAMZD /dev/sda 34
WDC WD5000AAKX-08U6AA0 /dev/sdb 35

In Amahai Dashboard sdb is not listed?

/dev/sda1 976 MB 829 MB 79.7 MB (9%) /boot
/dev/sda3 49 GB 22.9 GB 23.6 GB (51%) /
/dev/sda5 403 GB 320 GB 63 GB (17%) /home

User avatar
bigfoot65
Project Manager
Posts: 11235
Joined: Mon May 25, 2009 4:31 pm

Re: Sharing a second drive

Postby bigfoot65 » Wed Jan 09, 2019 7:53 am

It doesn’t appear that you completed the instructions for adding a second hard drive.

Once that is complete, you will see sdb1 as a partition.

Suggest you do some reading on the internet to learn Linux. That will help you understand what you are doing.

It apppears you didn’t follow initial install guidance or you would not have a large /home partition. That’s your first issue. Important you read guidance and follow documentation for success.

You might consider purchasing commercial support. We can only provide limited support in the forums.
ßîgƒσστ65
Applications Manager

alandavid
Posts: 10
Joined: Fri Jan 04, 2019 10:39 am

Re: Sharing a second drive

Postby alandavid » Wed Jan 09, 2019 9:48 am

Noted but I wanted a big drive that is a requirement

Who is online

Users browsing this forum: No registered users and 4 guests