Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo on Hyper-V 2012 - Can't use ext4 filesystem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eddy89
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 180
Location: /world/Italy/Torino

PostPosted: Mon Jul 15, 2013 3:20 pm    Post subject: Gentoo on Hyper-V 2012 - Can't use ext4 filesystem Reply with quote

Hello,
I got a problem trying to use ext4 filesystem on hyper-v 3.0 (windows server 2012) virtual storage.
If I format the partition with ext3, it all works well.
If I format a partition with ext4, mkfs works good, but when I try to mount it, it stuks at the first ls on the mount point (or pressing [tab] in bash).
In dmesg I just can see the same message repeated many times:
Code:
[276146.411171] sd 1:0:0:1: [sdc]
[276146.411173] Sense Key : No Sense [current]
[276146.411177] sd 1:0:0:1: [sdc]
[276146.411179] Add. Sense: No additional sense information
[276146.414822] hv_storvsc vmbus_0_13: cmd 0x41 scsi status 0x2 srb status 0x6
Until I detach the virtual hard disk from the virtual machine.
I got the same problem with the live cd, so I choosed to use ext3 for the root file system. I have the same problem with the kernel built from last gentoo sources (x86), using the included hyper-v drivers.
Ubuntu seems not to have this problems, and works good also with ext4.

Do you have any hints?

Thanks
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Tue Jul 16, 2013 2:00 pm    Post subject: Reply with quote

The only thing that I can think of is that you don't have ext4 support compiled into the kernel. I think you would still be able to format an ext4 partition in this case (since that's a user-space tool), but not mount it.

Check via:

Quote:
cat /proc/filesystems | grep ext4
ext4
Back to top
View user's profile Send private message
eddy89
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 180
Location: /world/Italy/Torino

PostPosted: Tue Jul 16, 2013 2:37 pm    Post subject: Reply with quote

Thank you geeksheik for your reply,
but I surely have ext4 compiled into kernel, as mounting the partition works, but the error start on the first access (e.g. ls).
I'll ask to microsoft forums too, but since ubuntu has not this problem, it seems something related to gentoo kernel.
(btw. as I said, the same problem is with the latest gentoo live cd for installation)
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Fri Jul 19, 2013 12:50 pm    Post subject: Reply with quote

Any progress? I'm not familiar with the inner workings of ext4 (or any filesystem drive for that matter), but this is what I'd check:

The ext4 options in the kernel (accessed via 'make menuconfig' / File systems) are as follows:

Code:
<*> The Extended 4 (ext4) filesystem
[*]   Ext4 POSIX Access Control Lists
[*]   Ext4 Security Labels
[*]   EXT4 debugging support


I'd recommend enabling the ACL's and Security Labels in case an optional feature is causing you problems (though unlikely). Also enable debugging support. If it's still broken, you might have additional information to post on one of the kernel development forums.
Back to top
View user's profile Send private message
meez
n00b
n00b


Joined: 25 Jul 2004
Posts: 33

PostPosted: Fri Aug 02, 2013 11:18 am    Post subject: Reply with quote

Same here. If I use ext4 as fs, after first access the kernel crashes (as hyperv guest).
Root partition is ext4 and working without problems. Ext3 is working without problems as additional disc.

Greetings,

Martin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum