Mailinglist Archive: opensuse-factory (914 mails)

< Previous Next >
Re: [opensuse-factory] out of curiosity - / grow from 10 to 12GB
Am 04.06.2017 um 17:11 schrieb Anton Aylward:
On 04/06/17 09:29 AM, Peter Mc Donough wrote:

Addition: This is fresh "KDE-Tumbleweed" from around Nov. 2016, with one "/" and
one "/home" partition, both on ext4.

How big is your disk drive, overall?

Really big enough.
I have three OS on a 250GB SSD, each with 20GB for / and 10GB for /home plus SSD space for virtual machines, plus 1TB HDD for all that for which an SSD could be useful but is not yet cheap enough to retire the HDD. File throughout is ext4. All data, which is not required by the system is on the HDD. Data-backup is as easy as it could be.

Over the years, I have been through all that: different partitions for /boot /tmp / and /, LVM, lately btfs.
Usually openSuse seldom needed more than 10 GB for the OS, so 20 GB for / has been enough.

I think LVM is usefull if several physical drives are combined. With a single SSD the procedure has changed, you simply take away space from one partition and allocate it to an other. Yast ist king.

Tucked under my desk I have my old laptop. Now it serves as my MySQL-server and
email archiver, but in days gone by it was my workhorse.

It had a mere 90G drive (and still does) that was (and still is) set up with
LVM. As it turns out I don't use all of the drive. I never did.

However with LVM I made the point of having separate /tmp, /var, /usr/share and
/srv. Now I also have a partition dedicated to the SQL database.

I don't understood why that should make a system backup easier apart for a backup for the database which is anyhow on a different partition. I used to clean /tmp before I did backups, with my present setup /tmp and /var/tmp are about 200K, so who cares and all other directories have to be backed up anyway.

It made backup much easier.
It also avoided some vulnerabilities that could arise from hard-linking to
between /tmp and /sbin, and others that could arise from soft-linking, because I
mounted /tmp "nosuid,nodev,noexec". Heck, ~Downloads and ~MyDocuments and
~MyMovies and ~MyMusic are mounted that way too. A good, if slightly, paranoid,
attitude. YMMV on that.

My data, as I said, is on the HDD and gets an system-independent backup each day. Very nice, I can connect and access it from any OS.

As I've pointed out, if my RootFS grows then I'm *sure* something is wrong.

I also keep an eye on root and I noticed the increase. I like to find out what has grown.

When you have all your non-home stuff on your RootFS a lot of things can happen
to alter its size and more, some perfectly legitimate, some a slackness in
administration, and some that can be dangerous. Some of that dangerous stuff
might even be malicious.
...
Yes there are people who think that LVM is complex. Well Bully! Driving a car
is more complex! You have a lot more things to consider and end up doing it for
a much longer period of time when driving a car.

You are right, driving a car is much more complex than any computer. But LVM would solve a problem I don't have.

I mention my old laptop because it has only the 90G drive, Its running 13.2 and
isn't going to get LEAP'd since its a i586 machine (see 32-bit vs 64-bit
thread). Old as it is, it would still server as a writing/browsing/email engine
for everyday use, if it wasn't for its weight!

What about moving to Debian Jessie, much simpler than driving a car;-) I did it with my little eeePC (1GB RAM, 12GB SSD-Space) works like a charm and gets security updates till 2022, I think.

cu
Peter
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups