Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

BUG: running parted causes reset of block device parameter

Peter_L_Aug 3 2017 — edited Aug 7 2017

Hi,

I'm using Oracle Linux 7.3. with NetApp LUNs and multipathing.

The NetApp LUNS has a block size of 4096, so the "max_sectors_kb" in OS has to set  to 4096, too.

If you use parted to check disk alignment or other things there is a major bug:

Important parameter "max_sectors_kb" is reset to 64 if you run and quit the parted program:

#cat /sys/class/block/sda/queue/max_sectors_kb

4096

# parted

GNU Parted 3.1

Verwende /dev/sda

Willkommen zu GNU Parted! Geben Sie 'help' ein, um eine Liste der verfügbaren Kommados zu erhalten.

(parted) quit

# cat /sys/class/block/sda/queue/max_sectors_kb

64

The reset of this value causes many errors like this:

kernel: blk_cloned_rq_check_limits: over max size limit.

Then you wil get flapping multipaths and the instance will crash, only resolvable by reboot!

Its become more important, because the orachk uses parted to test disks. During runing orachk the issue is occured in my env.

UPDATE:

Found this on Red Hat

https://access.redhat.com/solutions/43861

Have to add an udev rule:

#vi /etc/udev/rules.d/71-block-max-sectors.rules

ACTION=="add|change", SUBSYSTEM=="block", ENV{ID_VENDOR}=="NETAPP", RUN+="/bin/sh -c '/bin/echo 4096 >> /sys%p/queue/max_sectors_kb'"

Now it seems to work!

Could somebody inform the Oracle Linux devteam. I have no contact for doing so, thank you.

Regards Peter

Comments

864686
Hi,

Open the RPD in Offline mode, goto File -> Change Password.

Thanks
Goutham Shankar
787657
Hi,

Since i forgot the rpd password i am unable to login to the rpd.
Is there any other way to change the password.



---
Deepthi
Kranthi.K
Hi deepthi,

Not sure about 11g but once follow the steps we do in 10g fashion,if it works well
follow this http://blog.fcs-inc.com/CommentView,guid,f2b400b0-47b1-48b3-bf5c-185a79923a95.aspx

UPDATED POST
Not sure how can this be achieved.I said you 10g way thought it would work same in 11g as well
Check this it might help in going next step 9419125

If you get answer do post it so we would get to learn.

Cheers,
KK

Edited by: Kranthi.K on Jun 1, 2011 3:46 AM
787657
Hi,

Thanks for your reply.
I know it in 10g.
But in 11g, nqsconfig file doesn't contain authentication_type option in security section.

Thanks,
Deepthi.
Lakshmipathi
Hi,

I don't know about 11g.But,I think you have to look over configuration files.

Regards.
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 31 2017
Added on Aug 3 2017
0 comments
779 views