mounting drive in home directory crashes GNOME 3

I am testing btrfs scripts in xfs test suite. For testing btrfs, i created 5 drives, 1 GB each and formatted as btrfs using command mkfs.btrfs .
Then i created 5 directories in my home directory(NOT AS ROOT).Then mounted each drive,
mount /dev/sdb /home/test etc…etc…

Then ran the test case. It failed.
In next restart, GNOME 3 is not able to open.only CLI will appear and ask for root password.
No user can login. But user’s information is still available.

Is that a bug of GNOME ?

Of course it fails, you can’t mount /dev/sdb You can only mount /dev/sdb1,2,3,4.
Please state your experience level, this is not something you ought to do as a linux starter.

I have been using linux since 1 yr and new with CLI. As part of project, testing btrfs scripts,
i need to do experiments and explain results to my guide. Though i am a starter, i need to test them, using only commands.
Thanks for immediate reply. :slight_smile:

So, it’s something you have to find out yourself. Well, I already hinted about partitioning and mounting. Some commands that may help


man fstab
man mount
man btrfs

To get you started, please post output of

/sbin/fdisk -l

On 2013-02-04 09:06, praneethu wrote:
>
> I am testing btrfs scripts in xfs test suite. For testing btrfs, i
> created 5 drives, 1 GB each and formatted as btrfs using command
> mkfs.btrfs .
> Then i created 5 directories in my home directory(NOT AS ROOT).Then
> mounted each drive,
> mount /dev/sdb /home/test etc…etc…

Please state the 5 exact mount commands you used. Put them inside code
tags. Also state the exact username you used for the test.

Posting in
Code Tags - A Guide


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

1st i have used Yast partitioner and created 5 btrfs drives and mounted in root folder.ie., /test, /scratch. etc.etc.
2nd time i used commands to do same.


mkfs.btrfs /dev/sda6
mkfs.btrfs /dev/sda7
mkfs.btrfs /dev/sda8
mkfs.btrfs /dev/sda9
mkfs.btrfs /dev/sda10

mount /dev/sda6 /home/praeeth/test
mount /dev/sda7 /home/praneeth/scartch
mount /dev/sda8 /home/praneeth/a
mount /dev/sda9 /home/praneeth/b
mount /dev/sda10 /home/praneeth/c

after creating i followed instructions as in SDB:XFStests - openSUSE Wiki
and ran test case 254. ie., btrfs snapshot.
and from next reboot of system, GNOME3 is not loading.

On 2013-02-05 11:16, praneethu wrote:
>
> 1st i have used Yast partitioner and created 5 btrfs drives and mounted
> in root folder.ie., /test, /scratch. etc.etc.
> 2nd time i used commands to do same.
>
> Code:
> --------------------
>
> mkfs.btrfs /dev/sda6
> mkfs.btrfs /dev/sda7
> mkfs.btrfs /dev/sda8
> mkfs.btrfs /dev/sda9
> mkfs.btrfs /dev/sda10
>
> mount /dev/sda6 /home/praeeth/test
> mount /dev/sda7 /home/praneeth/scartch
> mount /dev/sda8 /home/praneeth/a
> mount /dev/sda9 /home/praneeth/b
> mount /dev/sda10 /home/praneeth/c
>
> --------------------

That seems safe enough.

> after creating i followed instructions as in
> https://en.opensuse.org/SDB:XFStests
> and ran test case 254. ie., btrfs snapshot.
> and from next reboot of system, GNOME3 is not loading.

That page is for XFS, not btrfs. Ah, btrfs is mentioned inside…
curious. I don’t understand what a test for btrfs is making in an XFS page.

I don’t know what those tests do, if they are dangerous or not. No idea
what they could do to your system. The wiki says the test has bugs, though.

I would try a new user. And of course, as you have a guide person, ask
him, he is responsible.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

btrfs test scripts and xfs test scripts and other testing scripts are in xfs test suite. As a traditional old name xfs, the name is retained.
Yes, even i need to look into scripts what it is doing. I just ran the scripts and this happend. So its my mistake to read scripts what it does and test.
and thanks for reply. I reinstalled fuduntu(fedora clone) which has GNOME 2 and will see what happens and post for future help.