I have Oracle Linux 5.7. It was hanged, so I rebooted it and now it came into maintenance mode and asking for root password. After password, it is at
I am not sure, where to go from here. All file-systems are in vg. Non-root is coming from EMC storage and root is from local disks.
Root filesystem is as below -
I also ran fsck as below and rebooted, but no luck.
Please suggest.
It was ASR, which rebooted server. Now I am able to bring server up.
- Remounted root fs as rw
- commented all file-systems coming from SAN from /etc/fstab
- Rebooted server
- Uncommented SAN fs and mounted all file-system manually.
But still need to check an issue. If I give a clean reboot, it again stops for maintenance and I have to follow above process. I have attached screenshot for referance. Console is in GUI, so can not copy output, so attaching screenshot.
---------------------------------------------------------------------
I am able to get some more information, which it went into file not found for lv, while booting. I think, there is something not standard in /etc/fstab. Here is the copy
I think, while server is coming up, OS started finding logical volumes from SAN. Since HBA may be completely intialised till that time and it resulted in throwing error below
What can be best to avoid this issue, if I reboot the box again. Please suggest.
I've seen this happen with old IBMsdd drivers/software where it attempts to mount filesystems before the driver is actually loaded. We ended up commenting out the entries in /etc/fstab and hacking /etc/rc.local - you should not do that
What HBAs do you have in the server, is the storage managed by multipathd, etc.?
When the server hung for the first time, was that the first time it was rebooted since these logical volumes were added, or has the server been rebooted successfully before?
You are right about drivers. It seems, same thing is happening here.
EMC Storage is connected to this server via Brocade HBA card (2 nos.) and multipath is managed by EMC powerpath.
Server hung is not a problem, we got the cause for that, but worried about unsuccessful reboot. I am not sure about past reboots, but whenever I am rebooting this Linux server, it always stops at maintenance level. I am suspecting /etc/fstab is playing a role here.
I have already added noatime in /etc/fstab, should it not delay mounting of SAN file-systems ?
No - something lower-level is happening if the device entires do not exist - no manner of changes within /etc/fstab will help that. noatime stops access time being updated within inodes and is a performance boon (sometimes) - it will not delay the mounting of anything.
EMC powerpath does not log anything. However, device paths are correct. Once I am able to bring server up without SAN file-systems, I can run mount -a and it mount all devices without any problem.
In /etc/fstab, we have enabled fsck to run on EMC SAN devices, as marked 2 in last field
I am suspecting this is forcing SAN file-system to fsck, while system is not yet completely initialised. Is it really required ?
if not, we can change this 2 to something else. Your thoughts please.
The root filesystem was mirrored, someone/something stopped mirroring, and increased / and /home to ridiculous values (/ got increased to 102gb and its only using 4.3gb, so 98gb is free). Can I reduce the / (/dev/hd4) filesytem down WITHOUT corrupting the the OS?
I would do a: chfs -a size=10g... (6 Replies)
I want to increase the size of /tmp by 1GB
I know that the command is
chfs -a size=+1G /tmp
But the rootvg is mirrored and when I do a lsvg -p rootvg, I could see 2 disks.
Will there be any impact if I increase the size of /tmp when the rootvg is mirrored ?
Please advise. (1 Reply)
I would like to konw wheather below steps are sufficient for mirroring rootvg.
extendvg rootvg hdisk1
mirrorvg rootvg
bootlist -m normal hdisk0 hdisk1
bosboot -ad hdisk0
bosboot -ad hdisk1
or anything needs to be added. (7 Replies)
When attempting to extend rootvg to a new physical disk I received the following message:
0516-1162 extendvg: Warning, The Physical Partition Size of 64 requires the
creation of 1093 partitions for hdisk5. The limitation for volume group
rootvg is 1016 physical partitions... (4 Replies)
I'm trying to troubleshoot an issue with an AIX system here. I have no experience with system administration of IBM stuff. Our local admin is ... um ... not available at this time.
I found something online that said enter service mode - How the heck do I do that??? Why is IBM stuff lack proper... (2 Replies)
Hello
I have a question
I have a box with Aix 5.3 with rootvg on mirror.
I deleted a filesystem and I create a new one to install some software but when I type lsvg -l rootvg all my filesystems has mirror unless the new one.
My question is I can mirror this fs only ??? or I have to... (9 Replies)
New Question:
The purpose of an alternate disk install is in my opinion to have a ready-to-use-backup and i've read that it is possible to install filesets or software on the cloned disk for testing purposal while the normal system is still running.
The question is: how do you tell AIX (5.2... (5 Replies)