I am a RH Linux admin that recently started working at a company with a number of SUN Servers so it's been an interesting transition.
Considering the last person left with very little documentation left behind so I have been picking up most issues half complete, or troubleshot.
After a recent poweroutage - planned so all servers were shut down healthy then powered back online network - storage - servers... (this is probably why my logs will show the date is Jan 2000 it looks like our battery is dead so the system clock reset).
So a user just came to me with mount points are not online, I did some quick checks and found that they were previously commented out of the /etc/vfstab which leads me to believe this is not a new problem, and whomever was last working on this server didn't completely fix it and just kept the server from having booting issues.
From some quick searches of the forum I have found a few commands that I can use to try and diagnose this, but I'm not sure where to go from here, I think my storage is gone... or failed.
The disks currently show as "drive type unknown" and there are logs in /var/adm/messages which indicate "offline or reservation conflict"
From everything I have read if i'm going to try and set the disk type I need to know exactly how it was configured previously to re-configure it in hopes of recovering any of the data that was previously on the array.
Below I put the output of any of the commands that look like they could help point me in the right direction, but I fear the worse considering these devices don't show up in most of the output.
Sun T2000
I certainly appreciate any help anyone can provide.
Thanks,
-Travis
---------- Post updated at 03:39 PM ---------- Previous update was at 02:19 PM ----------
Looks like there was an external POD connected to the server that was powered off after the outage and didn't get turned back on, which actually contained the /u01 mounts.
Now my question would be if not in the /etc/vfstab then where were these mount points that I overlooked?
If the drive(s) are "offline" or "reserved" after a crash then they could just have been left in an inconsistent state.
A SCSI drive is a highly programmable device with a large number of registers held on what are technically known as "mode pages". A mode page can be set to "reserve" a drive to a particular host in a cluster, tell the drive to behave as if it has completely different geometry.
The first thing to do is to invoke the format command in expert mode:
and select a misbehaving drive and select "set all mode pages to default" from the menu. That will reset any flags left in an abnormal state. After that quit out.
Invoke format again in normal mode and see if you can select the drive and read the vtoc and see what slices are configured. If it won't let you do that then further investigation is required.
Although I think these disks probably died a long time ago and were replaced with external storage.
My new question based on this was, all of this new storage was mounted to "u1 u2 u3 u4" but it doesn't show the block mapping, and i'm not sure where it was set to automount if not in /etc/vfstab?
Yes these are Oracle Mounts, but I guess Solaris and Oracle interact differently than RedHat and Oracle.
In RedHat the directories that get mounted for /u01 ... are actually mount points in /etc/vfstab even when it's off external storage. Now the LUNs that get allocated to Oracle don't ever actually get mounted and would just be rawdevices.
I'm not longer down since they are now online, this was merely to try and figure out how Solaris worked with these mount points. It may be Oracle handling it in Solaris which is why I was so confused.
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi,
I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file
scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0):
drive offline
genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430
... (1 Reply)
Hi Friends,
I set up the sendmail in my perosnal home lab. I am using mutt to send the email in between the machines. Everything is working fine if i send email like <username>@<hostname>. Now i set up the MX record for my domain "home.com" and then i was trying to send the email to like... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi folk,
Hope you enjoy the summer.
I am stock after one day working, the problems are the following:
1) I want to write a for loop in a shell script code that has a double precision step as:
#!/bin/bash
START=0.00001
STOP=0.001
for((i = START ; i< STOP ; i=2*i)) do
echo "$i"... (1 Reply)
Greetings, using ksh on Solaris, I am trying to identify the current version of a package installed on multiple servers using if statement in a precursor to upgrading.
I have searched the forums and have found many hits, reviewed 3 pages and have tried the different variations noted there. Also... (3 Replies)
Dear Experts and Advanced User,
I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command:
#dd if=/dev/rmt/0mnb ibs=16k | tar tvf -
It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command is... (2 Replies)
I am getting this error message (sh: No: not found) and I have no idea what line in my unix script its coming from or what it means. Can anyone help?
thanks,
Cindy (2 Replies)