Displaying 20 results from an estimated 20000 matches similar to: "Root btrfs partition listed twice?"
2016 Jul 06
1
Re: list-filesystems and btrfs snapshots
On Wed, Jul 06, 2016 at 05:33:01PM +0300, Maxim Perevedentsev wrote:
> Hello everyone!
>
> I have an issue with OpenSUSE-42.1 (I guess this is the only distro
> with btrfs snapshots by default).
> As we remember, list_filesystems returns btrfs snapshots along with devices.
>
> ><fs> list-filesystems
> /dev/sda1: swap
> btrfsvol:/dev/sda2/@: btrfs
>
2014 Oct 10
5
missing btrfs subvol support
Is btrfs subvol support failing just for me? Looks like nothing adds the
required '@/' string. virt-ls uses the first variant of the command:
><rescue> mount -vo subvol=var/spool,ro /dev/sda2 /sysroot/
[ 113.852047] BTRFS info (device sda2): disk space caching is enabled
[ 113.852869] BTRFS: has skinny extents
mount: mount(2) failed: No such file or directory
><rescue>
2016 Feb 25
5
[PATCH] listfs: ignore the default btrfs subvolume
When listing the subvolumes of a btrfs filesystem, ignore the default
subvolume: we get the content of it when mounting the whole device
(without specifying any particular subvolume), so avoid listing it
twice.
---
src/listfs.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/listfs.c b/src/listfs.c
index 98e74c7..de3b6f5 100644
--- a/src/listfs.c
+++ b/src/listfs.c
@@ -169,8
2016 Feb 26
1
Displaying mountables in the error output of guestfish etc
Cédric pointed out this problem we have:
$ guestmount -a /var/lib/libvirt/images/sles12sp1-pv.img -m '/dev/sda1:/:subvol=.snapshots/2/snapshot:btrfs' /mnt
libguestfs: error: mount_vfs: /dev/sda1 on / (options: 'subvol=.snapshots/2/snapshot'): mount: mount(2) failed: No such file or directory
guestmount: '/dev/sda1' could not be mounted.
guestmount: Check mount(8) man page
2012 Dec 20
1
Supporting btrfs subvolumes during inspection
We've currently got a bug in libguestfs which means we can't inspect
filesystems in btrfs subvolumes:
https://bugzilla.redhat.com/show_bug.cgi?id=824021
This is the default configuration if you select btrfs in F17+. The issue
is that it requires an api to fix it, as the return values of
inspect_os, inspect_get_filesystems and inspect_get_mountpoints can't
express a btrfs
2013 Feb 12
7
Remaining btrfs patches
[PATCH 1/7] mount: Add mount_vfs_nochroot
This is significantly reworked from before. umount is gone as
discussed, and variable motion is minimised.
[PATCH 2/7] btrfs: Update btrfs_subvolume_list to take
Already provisionally ACKed. Previous comment was that cleanup could
be tidier. I looked into creating a new cleanup function for fs_buf,
but it isn't possible (or simple, anyway) in this
2016 Feb 25
1
Re: [PATCH] listfs: ignore the default btrfs subvolume
On Thu, 2016-02-25 at 19:10 +0000, Richard W.M. Jones wrote:
> On Thu, Feb 25, 2016 at 05:50:57PM +0100, Pino Toscano wrote:
> > When listing the subvolumes of a btrfs filesystem, ignore the
> > default
> > subvolume: we get the content of it when mounting the whole device
> > (without specifying any particular subvolume), so avoid listing it
> > twice.
> >
2013 Dec 16
1
extlinux and btrfs
I am a relative newcomer to using extlinux. I am running Fedora 20
which means I am using syslinux 4.05. When I noticied that all of your
documentation said that booting off ext234 and btrfs was supported, I
gave it a try. Indeed, this does work with the boot files and the
extlinux directory installed into the btrfs (root) volume.
Has any thought been given to supporting supporting
2018 Nov 14
2
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
v2:
- Moved the btrfs available test into the subclause where it is used.
Note I got tired of fighting emacs indentation mode and I pushed a
whitespace only patch which fixes the indentation to be 4 spaces
instead of 2 spaces:
https://github.com/libguestfs/libguestfs/commit/df54c75d4c53ed580e5269306e11e0758d169452
This v2 patch requires that one.
Rich.
2018 Nov 14
0
[PATCH v2] test-data: Allow tests to be run when Btrfs is not available.
Create the fedora-btrfs.img as an empty file.
The only place this is used explicitly is tests/mountable/
test-mountable-inspect.sh, but that test already skips if !btrfs.
Also this is used via guests-all-good.xml, but the script that creates
this XML skips the file if it has zero size.
---
test-data/phony-guests/make-fedora-img.pl | 52 +++++++++++++++--------
1 file changed, 35 insertions(+),
2016 Mar 01
6
[PATCH 0/3] btrfs subvolumes display fix
Hey there!
Here are a few patches to fix unrelated things: one fixes the configure for older
ncurses releases having no pkg-config files. The other two are fixing what Richard
mentioned about guestfs subvolumes display
Cédric Bosdonnat (3):
configure: handle older version of ncurses
api: add mountable_device and mountable_subvolume
fish: fix btrfs subvolumes display in error case
2016 Mar 08
7
[PATCH v2 0/3] btrfs subvolumes display fix
Hi all,
Here is version 2 of the patch series, including the changes for Pino's remarks.
Cédric Bosdonnat (3):
configure: handle older version of ncurses
api: add mountable_device and mountable_subvolume
fish: fix btrfs subvolumes display in error case
fish/options.c | 28 ++++++++++++++++++++++++++-
generator/actions.ml | 26 +++++++++++++++++++++++++
2016 Aug 25
1
[PATCH] inspection: Fix parsing of btrfs subvolumes in /etc/fstab.
The code to parse btrfs subvol entries in /etc/fstab failed if the
entry had more than one comma-separated option, for example:
/dev/sda4 /home btrfs rw,user,subvol=foo 0 0
This commit fixes that code to use Augeas correctly.
Fixes commit 7ba0e10501f23358c38939930d613bf2393d744d.
Reported by: Zhongfu Li
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1615337
---
2014 Jan 21
2
syslinux and btrfs-formatted dos/MBR partition
Hello syslinux list,
I have installed Arch over a btrfs-formatted dos/MBR primary
partition* (no btrfs subvolumes, just installing everything including
/boot in the root of the btrfs).
I have been unsuccessful for several days trying to get it to boot
with syslinux (6.02-8 package from Arch, also tried 4.07-1 Arch
package). All I am getting is the copyright header line and a blinking
cursor
2013 Feb 07
12
[PATCH 01/12] generator: Add new Mountable argument type
This type is initially identical to Device.
---
generator/bindtests.ml | 2 +-
generator/c.ml | 7 +++++--
generator/csharp.ml | 6 ++++--
generator/daemon.ml | 4 ++--
generator/erlang.ml | 6 +++---
generator/fish.ml | 8 ++++----
generator/gobject.ml | 11 ++++++-----
generator/haskell.ml | 11 +++++++----
generator/java.ml | 10 +++++-----
2013 Jan 17
2
btrfs: could not do orphan cleanup -22
I booted the guest in which i was testing btrfs (transient ENOSPC
issues, etc). It booted in emergency mode.
[ 6.705187] device label testfs1 devid 1 transid 4141 /dev/sdb1
[ 6.724353] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.780931] device label fedora devid 1 transid 2036 /dev/sda2
[ 6.817157] snd_hda_intel 0000:00:04.0: irq 42 for MSI/MSI-X
[ 6.818326]
2014 Oct 10
2
Re: missing btrfs subvol support
On Fri, Oct 10, Richard W.M. Jones wrote:
> My guess is that the last one (opt/value) will be different for you.
Thanks for the pointers. I will poke around. At least augtool on the
host seems to behave correctly:
olaf@bax:~ $ cd /dev/shm/$$
bash: cd: /dev/shm/3570: Datei oder Verzeichnis nicht gefunden
olaf@bax:~ $ mkdir $_
olaf@bax:~ $ cd $_
olaf@bax:/dev/shm/3570 $ mkdir etc
2016 Mar 08
5
[PATCH v3 0/3] btrfs subvolumes display fix
Hi there,
Latest and greatest version including all new remarks from both Pino and Rich.
Cédric Bosdonnat (3):
configure: handle older version of ncurses
api: add mountable_device and mountable_subvolume
fish: fix btrfs subvolumes display in error case
fish/options.c | 28 ++++++++++++++++++++++++++-
generator/actions.ml | 26 +++++++++++++++++++++++++
m4/guestfs_libraries.m4
2012 Aug 12
13
raw partition or LV for btrfs?
I notice this question on the wiki/faq:
https://btrfs.wiki.kernel.org/index.php/UseCases#What_is_best_practice_when_partitioning_a_device_that_holds_one_or_more_btr-filesystems
and as it hasn''t been answered, can anyone make any comments on the subject
Various things come to mind:
a) partition the disk, create an LVM partition, and create lots of small
LVs, format each as btrfs
b)
2014 Jan 21
2
syslinux and btrfs-formatted dos/MBR partition
Hello Gene, thanks for your reply.
Yes BIOS mode. The config wants a menu, which loads fine under ext4
and not under btrfs. Under btrfs I have also tried to remove the
syslinux.cfg file altogether (which should trigger the boot: prompt if
I am not mistaken) and the result is the same: only the copyright line
appears and no prompt.
The three letter sequence is EDD.
The disk is 160GB, here is the