Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Problems mounting file system after converting from btrfs to ext4

  1. #1
    Join Date
    Mar 2009
    Location
    Springfield, VA
    Posts
    22

    Default Problems mounting file system after converting from btrfs to ext4

    I am having an issue as I tried to convert my file system to ext4 from btrfs. The reason for the switch is that btrfs takes a lot of snapshots which take up a lot of disk space. So I backed up the directory "/srv" and deleted and recreated it on the Logical Volume Manager is /dev/system1/srv using ext4 but now when I reboot it doesn't mount automatically. I tried doing fsck /dev/system1/srv and it checks too quick fixes nothing and when I mount it manually it starts some but not all the services. and I am using OpenSuSE 12.3

    any idea are greatly appreciated.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problems mounting file system after converting from btrfs toext4

    On 2013-11-26 19:26, jaycova wrote:
    >
    > I am having an issue as I tried to convert my file system to ext4 from
    > btrfs. The reason for the switch is that btrfs takes a lot of snapshots
    > which take up a lot of disk space. So I backed up the directory "/srv"
    > and deleted and recreated it on the Logical Volume Manager is
    > /dev/system1/srv using ext4 but now when I reboot it doesn't mount
    > automatically. I tried doing fsck /dev/system1/srv and it checks too
    > quick fixes nothing and when I mount it manually it starts some but not
    > all the services. and I am using OpenSuSE 12.3
    >
    > any idea are greatly appreciated.


    I just got an idea.

    Try to recreate initrd. I think there is a copy of fstab in there and it
    might be using that entry instead of the new one.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  3. #3
    Join Date
    Mar 2009
    Location
    Springfield, VA
    Posts
    22

    Default Re: Problems mounting file system after converting from btrfs toext4

    Quote Originally Posted by robin_listas View Post
    On 2013-11-26 19:26, jaycova wrote:
    >
    > I am having an issue as I tried to convert my file system to ext4 from
    > btrfs. The reason for the switch is that btrfs takes a lot of snapshots
    > which take up a lot of disk space. So I backed up the directory "/srv"
    > and deleted and recreated it on the Logical Volume Manager is
    > /dev/system1/srv using ext4 but now when I reboot it doesn't mount
    > automatically. I tried doing fsck /dev/system1/srv and it checks too
    > quick fixes nothing and when I mount it manually it starts some but not
    > all the services. and I am using OpenSuSE 12.3
    >
    > any idea are greatly appreciated.


    I just got an idea.

    Try to recreate initrd. I think there is a copy of fstab in there and it
    might be using that entry instead of the new one.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    So I go into /boot and look at the initrd which is encrypted so I cannot read it but I see it is a link to initrd-3.7.10-1.16-desktop but there is also a file initrd-3.7.10.1.1-desktop so can I just relink?

    Also I noticed there seems to be a lot of backups of /boot such as /boot/boot/boot/boot....

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: Problems mounting file system after converting from btrfs toext4

    Quote Originally Posted by jaycova View Post
    So I go into /boot and look at the initrd which is encrypted so I cannot read it but I see it is a link to initrd-3.7.10-1.16-desktop but there is also a file initrd-3.7.10.1.1-desktop so can I just relink?

    Also I noticed there seems to be a lot of backups of /boot such as /boot/boot/boot/boot....
    You don't edit the initrd, that's not what Carlos suggested. Recreate it:
    Code:
    sudo mkinitrd
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Mar 2009
    Location
    Springfield, VA
    Posts
    22

    Default Re: Problems mounting file system after converting from btrfs to ext4

    Ok I tried and this and it did not like it. Got a message that it is running out of disk space. How much is needed for this. There is only 25% available but it is a small filesystem.

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: Problems mounting file system after converting from btrfs to ext4

    Probably because of the snapshots which do not show in normal tools.

  7. #7
    Join Date
    Mar 2009
    Location
    Springfield, VA
    Posts
    22

    Default Re: Problems mounting file system after converting from btrfs to ext4

    Can I delete snapshots or the extra /boot/boot/boot directories?

  8. #8
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,288

    Default Re: Problems mounting file system after converting from btrfs to ext4

    /boot/boot/boot are just linked folders do not try to remove.

    There are some tools for BTRFS but I don't run it so you will have to look for the BTRFS docs and read up on it Google is your friend

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problems mounting file system after converting from btrfs toext4

    On 2013-11-26 21:46, jaycova wrote:
    >
    > Ok I tried and this and it did not like it. Got a message that it is
    > running out of disk space. How much is needed for this. There is only
    > 25% available but it is a small filesystem.


    How big is it?

    If it is not enough, you have two alternatives.

    One, you should only have two kernels on it, if you have more check.

    Two, remove the package plymouth from the system. Your boot will not be
    so cute, but such is life.

    Then recreate try the initrd. Sorry for not detailing that, I thought
    you knew.


    Of course, another alternative is making that partition bigger. Half a
    gigabyte or 1 gygabyte is what I would use nowdays.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Problems mounting file system after converting from btrfs toext4

    On 2013-11-26 21:56, jaycova wrote:
    >
    > Can I delete snapshots or the extra /boot/boot/boot directories?


    Your /boot partition is btrfs too? :-o {surprise}

    It should be ext2.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •