All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Markus Moeller" <huaraz@moeller.plus.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: Btrfs subvolume question
Date: Thu, 5 Feb 2015 22:49:18 -0000	[thread overview]
Message-ID: <mb0s1l$3ta$1@ger.gmane.org> (raw)
In-Reply-To: <CAJCQCtT1pSrFEU7Q0qspNkqzY9naDHxzzyE5y3fyqgZqqkT_vA@mail.gmail.com>

It seems systemd creates the subvolumes.

> cat /run/systemd/generator/local-fs.target.requires/var-opt.mount
# Automatically generated by systemd-fstab-generator

[Unit]
SourcePath=/etc/fstab
Before=local-fs.target

[Mount]
What=/dev/disk/by-uuid/7a681ad4-5b82-4e78-9b20-1d719c89fe6f
Where=/var/opt
Type=btrfs
Options=subvol=var/opt


Markus

"Chris Murphy"  wrote in message 
news:CAJCQCtT1pSrFEU7Q0qspNkqzY9naDHxzzyE5y3fyqgZqqkT_vA@mail.gmail.com...

On Thu, Feb 5, 2015 at 1:28 PM, Markus Moeller <huaraz@moeller.plus.com> 
wrote:
> Thank you for looking at this.  I did post the fstab  in the original 
> post.

Yep! No aware for my observation skills on this thread...

> Here it is again:

Hmm, it's using UUIDs for the Btrfs volumes rather than using the
VG/LV. If you use

# lvs

that'll show the LVM LV's. But Robert already got this figured out.


> The only thing I intended was to separate /,  /var, /opt, /usr and /boot 
> as
> I was used to, to avoid for example /var/log filling up the root 
> filesystem
> ( but now this fails :-( )

/var/log is on system_13.2/root_lv along with a bunch of other things.
According to your first df though, this 5GB root_lv is far from full,
not even 1/2 full. So I don't have a good explanation.

Anyway, long term this layout has maintenance problems, I would start
over. Backing up, restoring, even updating will pose problematic.



-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html 



  reply	other threads:[~2015-02-05 22:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 22:54 Btrfs subvolume question Markus Moeller
2015-02-05  2:27 ` Chris Murphy
2015-02-05  3:40   ` Robert White
2015-02-05  6:03     ` Chris Murphy
2015-02-05 20:28       ` Markus Moeller
2015-02-05 20:58         ` Chris Murphy
2015-02-05 22:49           ` Markus Moeller [this message]
2015-02-06  3:05             ` Chris Murphy
2015-02-06 22:29               ` Markus Moeller
2015-02-07  0:14                 ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='mb0s1l$3ta$1@ger.gmane.org' \
    --to=huaraz@moeller.plus.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.