mounting a second hdd in yast opensuse 13.2 kde

I have mounted a second hdd for storage purposes. I have open yast /systems/partition it has a message available storage on linux bottom right says config and finish. Now granted I am totally new to opensuse 13.2 kde, so there will be many questions I may have. Hopefully many of the question I may ask someone else may had ask them too…I used to use windows 8.1 when I mount an extra drive it automatically mounts the drive with a specific letter path…for storage purposes only. The same I want to do here using opensuse 13.2 kde If possible. Thank you in advance. Using this machine as a file sharing…

Welcome to the forums and to openSUSE. Linux is rather different from Windows and does not concern it with drives.

If you have two hard drives permanently in use, it is better to use LVM which creates logical volumns that can span the physical hard drives. Alternatively, if you want to access the second hard drive as a separate entity, you need to create a mount point and then mount the hard drive on that mount point.

The mount point will be its name.

If your second hard drive is a USB hard drive, it will automatically be mounted at /run/media/{username}/{partition name}

If you don’t like its current partition name, you can change the partition name with gparted.

On 2015-06-16 22:06, brklynperrez32 wrote:
>
> I have mounted a second hdd for storage purposes. I have open yast
> /systems/partition it has a message available storage on linux bottom
> right says config and finish. Now granted I am totally new to opensuse
> 13.2 kde, so there will be many questions I may have hopefully someone
> else ask them too…I used to use windows 8.1 when mount an extra drive
> it automatically mounts the drive with a specific letter path for
> storage purposes the same I want to do here using opensuse 13.2 kde If
> possible. Thank you in advance. Using this machine as a file sharing…

It has been asked many times before, so you only have to search a bit in
the forum and you will see procedures. :slight_smile:

There are several ways.

Basically, and assuming the disk is totally new and empty, using YaST,
you would create a partition table on that disk, format it, then mount
it somewhere you like, for example /data/mydisk


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I want to use this hdd for storing audio and videos it is asking to partition it using Ntfs fat xfs ext 2,3or4 or btrfs not sure what to use, and I wanted thank you all that helped me here… I wanted create folders so i can store videos and audio files…

I want to use this hdd for storing audio and videos it is asking to partition it using Ntfs fat xfs ext 2,3or4 or btrfs not sure what to use, and I wanted thank you all that helped me here… I wanted create folders so i can store videos and audio files…

On 2015-06-17 00:46, brklynperrez32 wrote:
>
> I want to use this hdd for storing audio and videos it is asking to
> partition it using Ntfs fat xfs ext 2,3or4 or btrfs not sure what to
> use,

XFS. For big files it is the best.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Note that FAT and NTFS are MS formats. I’d only use them if I was sharing files with Windows. ext4 Xfs are fine for any Linux only usage. ext 2 and 3 are also. Each has it’s strength and weakness but for most things you would be hard pressed to notice the differences

I did something wrong:(, I followed everything that was said but now I am not able to access that drive that we have created>:(, for some reason I am not able to write in it>:(, Can’t add any folders to it>:(…Please help and Please forgive, I have look in the forum I have seen similar but no cigar…Thank you in advance

What mount point did you use?

Most drives come pre formatted with at least one partition and a MS file system of some sort.

You an use that but it is not a true Linux file system so permissions are synthetic and do not stick. For a purl Linux system is better to use a Linux file system.

Note again you DO NOT create a drive you make a partition and format it on a drive. Microsoft messed up everyone when they insist to calling partitions drives. Please don’t confuse a drive and a partition. In most cases you need a partition and a files system to use a drive

Once you have a formatted partition you mount it at some point in the file system. By mounting it it become part of the file system so say you mounted it at /mydrive. You go to /mydrive and there you will find the files stored on the partition

Thank you, I meant to say I have formatted an empty hdd (Xms) and partition the drive and mounted as backup. /mnt/backup. It denies me access to create folders I am storing all of my audio files there which today I am also mounting another Hdd to store videos files, I figure once I learn how to I may continue mounting other hdd the same way for other purposes, I am also looking to share my folders with other machines in the house…

Ok you must set permissions for regular users to us it show us

/etc/fstab

On 2015-06-17 04:56, brklynperrez32 wrote:

> I did something wrong:(, I followed everything that was said but now I
> am not able to access that drive that we have created>:(, for some
> reason I am not able to write in it>:(, Can’t add any folders to
> it>:(…Please help and Please forgive, I have look in the forum I have
> seen similar but no cigar…Thank you in advance

Ok, this is quite normal, don’t despair :slight_smile:

I’ll make the assumption that you formatted it as xfs, perhaps as ext3,
and that you mounted it somewhere, perhaps /data/diskone. Doesn’t matter.

Under those circumstances, only root can write there. This is how Unix
or Linux works, it is basic permissions. You should read a book on Linux :slight_smile:

Ok, lets assume your user is named “john”. You have to create, as root,
a directory like /data/diskone/john, and then change the ownership of it
to belong to john. As simple as that. Then john will be able to write
whatever he wishes in there.

Procedure for terminal:


su -
cd /data/diskone
mkdir john
chown john:users john
exit

Of course, changing the names as appropriate. Mutandis mutandi.

HTH :slight_smile:

(It is not the only way. You can, for instance, change the owner of
/data/diskone, or change the group permissions of same. I described
simply the method I prefer, more versatile)


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)