Creating Partitions on second drive in 13.2

I have added an hardware Raid 6 array to my 13.2 x86-64/KDE machine and am using the Yast Partitioner to set up partitions on the new drive. I can add partitions (volumes) without a problem and the system defaults to XFS file system. I am prepared to give this a try but seek advice on mount points.
If I select the mount option there are three options offered in the drop down menu. I can mount on /srv, /tmp or /usr/local. If I select any of these however I get a warning message :-

Warning: Some subvolumes of the root file system are shadowed by mount points of other file system. This could lead to problems. Really use this setup?

What exactly is going on here? I wish to use the volume for a subdirectory in my home tree, probably named “multimedia.” How should I proceed. Should I create the directory multimedia in my home tree and insert that full path as the mount point or should I use a less direct method with a link to the new volume?

How do you intend to use the new disk space?

The options you see in the YAST partitioner are suggestions to re-locate existing directories (my guess not what you want).

If I were to guess, if you set a mount option you’ll want to describe a custom path so that your new volume is just “additional” space.

TSU

Hi
Just type in what you want it to be you don’t have to use the dropdown list :wink:

eg /home/<username>/<somedir> or /data then after it’s mounted login as root user and create your directories and change ownership.

eg;


mkdir -p /data/multimedia
chown username:users /data/multimedia

To my knowledge RAID 6 requires 5 drives, but you say you are doing it on 1???

You can use any mountpoint at your own whish. YaST offers only a few, often used (so it thinks) possibilities.

Read https://en.opensuse.org/SDB%3ABasics_of_partitions,_filesystems,_mount_points

Sorry if I was not clear. I had 4 drives and added one to make 5.

Hi Malcolm and others, many thanks. I was put off by drop down list. Too much time on gui and not enough on CLI!!!

I have elected to mount at /data and have created multimedia directory just as suggested. Is there any way I can get this to appear also in my /home/<username> tree or would I have to mount there?

Budge

Hi Henk,
Many thanks for the link which is excellent and now I know where to look I can study a bit more.
I am sure the answer to my last question will be there but not found it. I am not lazy, just busy.
Regards,
Budge

Hi
I use soft links… I GNOME there are some default ones for pictures, music and videos, so in my /data/multimedia I have a Pictures, Music and Videos subdirectory and just run;


cd ~/
rm -f ~/Music ~/Pictures ~/Videos
ln -s /data/multimedia/Music Music
ln -s /data/multimedia/Pictures Pictures
ln -s /data/multimedia/Videos Videos

Hi Malcolm,
That looks like exactly what I want. Many thanks.

Slightly off topic but to move the system around I must boot from a live CD. When I do, I am asked about updates. Should I accept these?

If I have to log in as root on a live version (13.2) what password is used?
Budgie2

Hi
There is no root password on the LiveCD’s AFAIK, but if on a CD, then no updates can be added… I never worry on a USB, just disable the repos.

Don’t forget about a backup plan for all your data :wink:

Oh and if you do a re-install, just add /data back in but don’t format. Then all you have to do is re-create the softlinks… (I have a script to make things easier).

Hi Malcolm,
I have made considerable progress towards solving my problems. Having learned, through experience, how the serveRAID controller works, or does not as the case may be, I have been able to reinstate my original 13.1 system complete with all my data on one drive(array). I am now backing up the /home directory.

I also have a cloned copy of my 13.2 installation on second drive which also has recent data I need to merge with the retrieved data.

I am now trying to work out where I want to be at the end and how to get there.
The first question is can a zypperup work from 13.1 to 13.2 including changing the file systems and BIOS boot setup. Seems too much of a jump but I am going to look for threads. If you can help here that would be appreciated.
Budgie2

On Thu 19 Feb 2015 05:36:02 PM CST, Budgie2 wrote:

malcolmlewis;2695662 Wrote:
> Hi
> There is no root password on the LiveCD’s AFAIK, but if on a CD, then
> no updates can be added… I never worry on a USB, just disable the
> repos.
>
> Don’t forget about a backup plan for all your data :wink:
>
> Oh and if you do a re-install, just add /data back in but don’t
> format. Then all you have to do is re-create the softlinks… (I have
> a script to make things easier).

Hi Malcolm,
I have made considerable progress towards solving my problems. Having
learned, through experience, how the serveRAID controller works, or does
not as the case may be, I have been able to reinstate my original 13.1
system complete with all my data on one drive(array). I am now backing
up the /home directory.

I also have a cloned copy of my 13.2 installation on second drive which
also has recent data I need to merge with the retrieved data.

I am now trying to work out where I want to be at the end and how to get
there.
The first question is can a zypperup work from 13.1 to 13.2 including
changing the file systems and BIOS boot setup. Seems too much of a jump
but I am going to look for threads. If you can help here that would be
appreciated.
Budgie2

Hi
Changing the filesystems? You mean upgrading the filesystems? I don’t
do updates, fresh installs for me are quicker… a few scripts for my
user, then deploy other config changes via a different mechanism.

You can upgrade using the DVD, but that all depends on how many repos
you have used outside the standard ones.


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

You need to use “zypper dup” which stands for “distribution update”. “zypper up” will likely result in inconsistent package set. “zypper dup” will preserve current system configuration and will not affect BIOS boot setup. I’m not sure what “changing file systems” means.

Hi Malcolm,
Yes given the changes in filing systems offerred with 13.2 a fresh install may be the way to go, especially if I change my array from raid 5 to raid 1e. I ma intrigued by your mention of “a few scripts for my user” and “a different mechanism” for config changes.
One of the major chores with a new install is getting all the applications installed and set up as required. If you have any suggestions here they would be much appreciated.
Budgie2

Make a list of the apps you use and install after the OS install is complete.

If you forget a few it is no big chore to install from yast what you missed

On Fri 20 Feb 2015 05:06:01 PM CST, Budgie2 wrote:

malcolmlewis;2695844 Wrote:
> Hi
> Changing the filesystems? You mean upgrading the filesystems? I don’t
> do updates, fresh installs for me are quicker… a few scripts for my
> user, then deploy other config changes via a different mechanism.
>
> You can upgrade using the DVD, but that all depends on how many repos
> you have used outside the standard ones.
>
> –
> Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter
> #276890)
> SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel
> 3.12.36-38-default If you find this post helpful and are logged into
> the web interface, please show your appreciation and click on the
> star below… Thanks!

Hi Malcolm,
Yes given the changes in filing systems offerred with 13.2 a fresh
install may be the way to go, especially if I change my array from raid
5 to raid 1e. I ma intrigued by your mention of “a few scripts for my
user” and “a different mechanism” for config changes.
One of the major chores with a new install is getting all the
applications installed and set up as required. If you have any
suggestions here they would be much appreciated.
Budgie2

Hi
I use SUSE Manager (google spacewalk) to deploy system config files and
packages (via mirrored repositories). Then locally I just had to script
out things like removing plymouth and adding in the softlinks to various
files. You can use echo to append stuff to files, all depends on your
use case.

You can script out adding repositories with zypper or disable them (eg
the install source)


zypper mr -dR -p 101 "openSUSE-13.2-0"
zypper ar -f http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_13.2/ 'PACKMAN'
zypper ref

Then you can add a zypper -n in command of the list of files you want
installed.

I use fwbackups as well for my data, so can then just recover data by
restoring the backup sets from my file server.

Most of this is redundant as I can do most things with SUSE Manager
these days.

Probably some examples of what your wanting would help…


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!