Oracle Linux 7 mounting SAN storage issue
I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-
- Oracle VM manager for VM creation
- Fiber Channel HP3PAR SAN storage attached as physical disk to my VM
- Oracle Linux version -OEL 7.4
Below steps I have been doing as earlier worked smoothly but not now-
- Login as root user on VM Running
fdisk utility to check attached disks
fdisk -l
It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.
Applying mount command to mount /dec/xvdc on location
/u01/oracle/config where /u01/oracle/config is empty
mount /dev/xvdc /u01/oracle/config
After this the command screen cursor just blinks and nothing
happens.
Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.
linux mount storage oracle san
add a comment |
I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-
- Oracle VM manager for VM creation
- Fiber Channel HP3PAR SAN storage attached as physical disk to my VM
- Oracle Linux version -OEL 7.4
Below steps I have been doing as earlier worked smoothly but not now-
- Login as root user on VM Running
fdisk utility to check attached disks
fdisk -l
It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.
Applying mount command to mount /dec/xvdc on location
/u01/oracle/config where /u01/oracle/config is empty
mount /dev/xvdc /u01/oracle/config
After this the command screen cursor just blinks and nothing
happens.
Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.
linux mount storage oracle san
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
mount
also has a--verbose
option that may be helpful.
– Haxiel
Dec 19 '18 at 17:15
add a comment |
I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-
- Oracle VM manager for VM creation
- Fiber Channel HP3PAR SAN storage attached as physical disk to my VM
- Oracle Linux version -OEL 7.4
Below steps I have been doing as earlier worked smoothly but not now-
- Login as root user on VM Running
fdisk utility to check attached disks
fdisk -l
It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.
Applying mount command to mount /dec/xvdc on location
/u01/oracle/config where /u01/oracle/config is empty
mount /dev/xvdc /u01/oracle/config
After this the command screen cursor just blinks and nothing
happens.
Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.
linux mount storage oracle san
I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-
- Oracle VM manager for VM creation
- Fiber Channel HP3PAR SAN storage attached as physical disk to my VM
- Oracle Linux version -OEL 7.4
Below steps I have been doing as earlier worked smoothly but not now-
- Login as root user on VM Running
fdisk utility to check attached disks
fdisk -l
It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.
Applying mount command to mount /dec/xvdc on location
/u01/oracle/config where /u01/oracle/config is empty
mount /dev/xvdc /u01/oracle/config
After this the command screen cursor just blinks and nothing
happens.
Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.
linux mount storage oracle san
linux mount storage oracle san
edited Dec 19 '18 at 11:29
Rui F Ribeiro
39k1479130
39k1479130
asked Dec 19 '18 at 11:09
k10gaurav
1063
1063
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
mount
also has a--verbose
option that may be helpful.
– Haxiel
Dec 19 '18 at 17:15
add a comment |
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
mount
also has a--verbose
option that may be helpful.
– Haxiel
Dec 19 '18 at 17:15
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
mount
also has a --verbose
option that may be helpful.– Haxiel
Dec 19 '18 at 17:15
mount
also has a --verbose
option that may be helpful.– Haxiel
Dec 19 '18 at 17:15
add a comment |
1 Answer
1
active
oldest
votes
Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-
xfs_repair /dev/xvdc
a warning indicated as specified below
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
So further, I proceeded with below steps-
xfs_repair -L /dev/xvdc
mount -t xfs /dev/xvdc /u01/oracle
This successfully mount disk /dev/xvdc to location /u01/oracle.
NOTE : I have formatted the disk using XFS file system earlier.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489880%2foracle-linux-7-mounting-san-storage-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-
xfs_repair /dev/xvdc
a warning indicated as specified below
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
So further, I proceeded with below steps-
xfs_repair -L /dev/xvdc
mount -t xfs /dev/xvdc /u01/oracle
This successfully mount disk /dev/xvdc to location /u01/oracle.
NOTE : I have formatted the disk using XFS file system earlier.
add a comment |
Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-
xfs_repair /dev/xvdc
a warning indicated as specified below
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
So further, I proceeded with below steps-
xfs_repair -L /dev/xvdc
mount -t xfs /dev/xvdc /u01/oracle
This successfully mount disk /dev/xvdc to location /u01/oracle.
NOTE : I have formatted the disk using XFS file system earlier.
add a comment |
Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-
xfs_repair /dev/xvdc
a warning indicated as specified below
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
So further, I proceeded with below steps-
xfs_repair -L /dev/xvdc
mount -t xfs /dev/xvdc /u01/oracle
This successfully mount disk /dev/xvdc to location /u01/oracle.
NOTE : I have formatted the disk using XFS file system earlier.
Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-
xfs_repair /dev/xvdc
a warning indicated as specified below
Phase 1 - find and verify superblock...
Phase 2 - using internal log
- zero log...
ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.
So further, I proceeded with below steps-
xfs_repair -L /dev/xvdc
mount -t xfs /dev/xvdc /u01/oracle
This successfully mount disk /dev/xvdc to location /u01/oracle.
NOTE : I have formatted the disk using XFS file system earlier.
answered Dec 27 '18 at 11:05
k10gaurav
1063
1063
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489880%2foracle-linux-7-mounting-san-storage-issue%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24
mount
also has a--verbose
option that may be helpful.– Haxiel
Dec 19 '18 at 17:15