Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello!
I'm worried about a problem that occurred twice and on different servers. We use Oracle Linux and partitions are in XFS, such a partition burst disk space and the corrupted partition. I can not mount the partition at all. Can anyone tell me why this happens?
In dmesg the error appears below.
[ 2.458820] sdf: unknown partition table
[ 2.459096] sd 2:0:5:0: [sdf] Cache data unavailable
[ 2.459099] sd 2:0:5:0: [sdf] Assuming drive cache: write through
[ 2.459262] sd 2:0:5:0: [sdf] Attached SCSI disk
[952902.649458] XFS (sdf): bad magic number
[952902.649531] XFS (sdf): SB validate failed
[953241.403987] XFS (sdf): bad magic number
[953241.404041] XFS (sdf): SB validate failed
This occurred when the disc burst space, this disk is used to store the Oracle archives.
The partition is XFS and this disk is a storage and the server is a virtual machine (vmware).
Read the FAQ and did further research to try to understand the "write cache" could corrupt the FS, if the disk runs out of space. I found nothing enlightening.
Is the "write cache" is responsible for this bug?
Guys, it's not possible that a write cache screws up the partitions - not supposed to write outside the partitionn's boundaries.
How is the storage (partition?) mounted in the VM and what kind of VM is it?
What I understood is that you're forwarding a real HDD partition to a VM and that the VM is using it to store Oracle archlogs.
I'll take a step back.
The mix of what I understood and what my assumptions are is:
you've got a server (later referred to as "host")
the host has one or more HDDs
one of these HDDs has some partitions, and one of those is formatted with XFS
on the host you're running at least 1 Virtual Machine
that VM is running Oracle
you're passing the XFS partition of the HDD of the host to the VM
the VM mounts the partition and uses it to store Oracle archlogs
from time to time this specific paritition cannot be mounted in the VM
Questions:
Is the above correct and if not, what is wrong?
If correct, when you run the <script? whatever?> to start the VM, which parameters do you give to the hypervisor to tell it that the XFS partition of the host has to be forwarded and made available to the VM?
1. you've got a server (later referred to as "host")
2. the host has one or more HDDs
3. one of these HDDs has some partitions, and one of those is formatted with XFS
4. on the host you're running at least 1 Virtual Machine
5. that VM is running Oracle
6. you're passing the XFS partition of the HDD of the host to the VM
7. the VM mounts the partition and uses it to store Oracle archlogs
So far is correct.
8. It happened only once, the disk became full, thus the disk partition corrupted
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.