Closed sachin11 closed 13 years ago
[12158.029528] error 0 function zfs_root
[12158.029534] inode 4 at zfs_root function 1851 line
[12158.029547] checking : this : super_block magic no : 2fc12fc1
[12181.169705] tank/fs/vol: unknown partition table
[12230.983991] BUG: unable to handle kernel NULL pointer dereference at (null)
[12230.983999] IP: [
[12230.984137] RIP: 0010:[
issue solved by Prasad.
Steps:-
1) Create zpool
[root@localhost kqinfo]# zpool create tank /dev/sda1 /dev/sdb1 /dev/sdc1 [root@localhost kqinfo]# zpool status pool: tank state: ONLINE scan: none requested config:
errors: No known data errors
2) Create one file system on zpool
[root@localhost kqinfo]# zfs create tank/myzfs [root@localhost kqinfo]# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT tank 126K 16.0G 31K /tank tank/myzfs 21K 16.0G 21K /tank/myzfs [root@localhost kqinfo]#
3) Create zvol on file system with specific size
[root@localhost kqinfo]# zfs create -V 10M tank/myzfs/zvol
4) Check the size of created zvol
[root@localhost kqinfo]# zfs get volsize tank/myzfs/zvol NAME PROPERTY VALUE SOURCE tank/myzfs/zvol volsize 10M local [root@localhost kqinfo]#
5) Resize the zvol it get kernel panic
[root@localhost kqinfo]# zfs set volsize=20M tank/myzfs/zvol
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] Oops: 0000 [#1] SMP
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] last sysfs file: /sys/devices/virtual/block/tank!myzfs!zvol/range
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] Stack:
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] Call Trace:
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] Code: 50 10 48 89 50 18 48 8d 90 80 00 00 00 48 89 90 80 00 00 00 48 89 90 88 00 00 00 5a 5b c9 c3 55 48 89 e5 41 54 53 0f 1f 44 00 00 <48> 8b 07 49 89 fc 48 8b 38 e8 5f ff ff ff 4c 89 60 20 49 8b 3c
Message from syslogd@localhost at Dec 13 13:06:21 ... kernel:[ 468.067124] CR2: 0000000000000000 Killed [root@localhost kqinfo]#