All of lore.kernel.org
 help / color / mirror / Atom feed
* "Fixing" mount points
@ 2013-02-18  7:45 Bob McGowan
  2013-02-18 17:08 ` Chris Murphy
  0 siblings, 1 reply; 3+ messages in thread
From: Bob McGowan @ 2013-02-18  7:45 UTC (permalink / raw)
  To: linux-btrfs

First, apologies if this is "well known", I'm totally new here, and
haven't figured out yet how to search the archives.

Also, I'm not a subscriber, so please respond to me as well as the list.

I've had a number of issues with distribution installations (separate
and unrelated issues, but history and context).  I had a system set up,
with a separate /home (brtfs, sda1), when it crashed (badly) while
updating and rebuilding the kernel.

I installed again (different window system, same distribution) and to be
"completely safe", I left the /home out of the new setup.  I want (need)
to keep it because it has a very large of digital photos and I'd rather
not have to restore them again (between audio, video, the photos, DVD
images, about 800GB).

So, I now have a volume/subvolume on one disk, where the subvolume is
/home (brtfs, sde2), and I want to change fstab to mount sda1 as /home
instead.

For any other FS I've worked with, simple edits of fstab would be
enough, but doing so doesn't appear to be enough for btrfs.

Even though things look OK from the command line, logging in through the
window system fails (actually, just hangs).

I assume this means I should be doing something to "clean up" the
subvolume?  Or maybe there's something in the Window system
configuration to change?

I'm running Linux Mint 14 KDE.  My fstab for the parts in question looks
like:

# / was on /dev/sde2 during installation
UUID=1a...9 /     btrfs   defaults,subvol=@     0       1
# /home was on /dev/sde2 during installation
UUID=1a...9 /home btrfs   defaults,subvol=@home 0       2

What I want is something like:
# / was on /dev/sde2 during installation
UUID=1a...9 /     btrfs   defaults              0       1
# /home is on /dev/sda1
UUID=7f...3 /home btrfs   defaults              0       2

Thanks for bearing with me as I learn this new environment. ;-)

Bob

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Fixing" mount points
  2013-02-18  7:45 "Fixing" mount points Bob McGowan
@ 2013-02-18 17:08 ` Chris Murphy
  2013-02-20  7:33   ` Bob McGowan
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Murphy @ 2013-02-18 17:08 UTC (permalink / raw)
  To: Bob McGowan; +Cc: linux-btrfs


On Feb 18, 2013, at 12:45 AM, Bob McGowan <ramjr0915@gmail.com> wrote:

> 

> Even though things look OK from the command line, logging in through the
> window system fails (actually, just hangs).
> 
> I assume this means I should be doing something to "clean up" the
> subvolume?  Or maybe there's something in the Window system
> configuration to change?
> 
> I'm running Linux Mint 14 KDE.  My fstab for the parts in question looks
> like:
> 
> # / was on /dev/sde2 during installation
> UUID=1a...9 /     btrfs   defaults,subvol=@     0       1
> # /home was on /dev/sde2 during installation
> UUID=1a...9 /home btrfs   defaults,subvol=@home 0       2
> 
> What I want is something like:
> # / was on /dev/sde2 during installation
> UUID=1a...9 /     btrfs   defaults              0       1
> # /home is on /dev/sda1
> UUID=7f...3 /home btrfs   defaults              0       2

The 2nd fstab implies a completely different disk, the first partition is btrfs, mounted as /home. So long as the contents are user folders, i.e. the same thing found in sde2 subvol @home, then it's functionally the same as what you had before.

Also, btrfs doesn't need fs_passno set.


Chris Murphy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Fixing" mount points
  2013-02-18 17:08 ` Chris Murphy
@ 2013-02-20  7:33   ` Bob McGowan
  0 siblings, 0 replies; 3+ messages in thread
From: Bob McGowan @ 2013-02-20  7:33 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Chris Murphy


On 02/18/2013 09:08 AM, Chris Murphy wrote:
> On Feb 18, 2013, at 12:45 AM, Bob McGowan <ramjr0915@gmail.com> wrote:
>
>> Even though things look OK from the command line, logging in through the
>> window system fails (actually, just hangs).
>>
>> I assume this means I should be doing something to "clean up" the
>> subvolume?  Or maybe there's something in the Window system
>> configuration to change?
>>
>> I'm running Linux Mint 14 KDE.  My fstab for the parts in question looks
>> like:
>>
>> # / was on /dev/sde2 during installation
>> UUID=1a...9 /     btrfs   defaults,subvol=@     0       1
>> # /home was on /dev/sde2 during installation
>> UUID=1a...9 /home btrfs   defaults,subvol=@home 0       2
>>
>> What I want is something like:
>> # / was on /dev/sde2 during installation
>> UUID=1a...9 /     btrfs   defaults              0       1
>> # /home is on /dev/sda1
>> UUID=7f...3 /home btrfs   defaults              0       2
> The 2nd fstab implies a completely different disk, the first partition is btrfs, mounted as /home. So long as the contents are user folders, i.e. the same thing found in sde2 subvol @home, then it's functionally the same as what you had before.
>
> Also, btrfs doesn't need fs_passno set.
>
>
> Chris Murphy
Hi, Chris,

Thanks for the information.  As for fs_passno, what you're seeing is
what was put there by the install process.  I'm assuming, if it's not
needed, that the proper value would be zero?

You have confirmed what I thought was correct.  But trying it the first
time failed.  My login acted as though the user was valid but login
didn't complete, returning to the login screen.

Since I was just able to reconfigure fstab, and it worked, I'd say I
probably fat fingered something and just didn't notice.

In any case, many thanks, again. ;)

Bob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-20  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-18  7:45 "Fixing" mount points Bob McGowan
2013-02-18 17:08 ` Chris Murphy
2013-02-20  7:33   ` Bob McGowan

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.