Home Man
Today's Posts

The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Acessing files on Sun Storage J4200 array

solaris, solved

Login to Reply

Thread Tools Search this Thread
# 1  
Old 11-08-2017
Acessing files on Sun Storage J4200 array


I'm maintaining a small network of Solaris/Linux clients with a NFS/NIS server running Solaris 10. The server is a SPARC Enterprise M4000 sharing NFS filesystem that the clients are mounting. The hard drives on the server are on a Sun Storage J4200 array of 12 disks. I don't have details on what is the configuration of the array (how the disks are used, some RAID etc).

Now problem is the server broke (XSCF unit failure) and I need to access the files on the J4200 storage array. Is there any way I can do this? What would be the needed steps? Or are the files lost, as I don't have details on the array configuration?

(...the files have been backed up to a simple Linux based backup client...but as we had a major malfuntion, the backup client also has failed)

Thanks for any help,
# 2  
Old 11-08-2017
If the XSCF board has gone down you should be able to replace that. You'll need to power everything down to do it though.

The data on the storage array should be fine provided you don't reformat or try to write to it in any way before you reconnect it to the Sun box or replacement Sun box.

The array(s) configuration will be stored on the J4200 disks.

What version of Solaris (I assume it was running Solaris) was it running?
# 3  
Old 11-08-2017
Unfortunately, I don't have a replacement XSCF right now. I had one spare a couple of months ago, but had to allocate it elsewhere. So that's not a quick option to access the files. I don't have info, on which version of Solaris10 was running on the server.

What I'm trying now, is to install the SAS controller (PCI-E) card to another Solaris machine. Idea is to try and access the disk array from this machine. This machine being a Netra T5220 running Solaris 10 (SunOS Release 5.10 Version Generic_147147-26 64-bit).

Command "format" gives output :

       0. c0t0d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>  M1rootdg
       1. c0t1d0 <SUN300G cyl 46873 alt 2 hd 20 sec 625>  O1rootdg
       2. c3t7d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       3. c3t8d0 <drive type unknown>
       4. c3t9d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       5. c3t10d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       6. c3t11d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       7. c3t12d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       8. c3t13d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
       9. c3t14d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>
      10. c3t15d0 <drive type unknown>
      11. c3t16d0 <SEAGATE-ST314655SSUN146G-0B92-136.73GB>
      12. c3t17d0 <drive type unknown>
      13. c3t18d0 <SEAGATE-ST314655SSUN146G-0892-136.73GB>

Those "sas" disks are the array disks.
Is it now a simple task of mounting one of them to check the content, like c3t16d0 for instance?

Moderator's Comments:
Acessing files on Sun Storage J4200 array
Please wrap all code, files, input & output/errors in CODE tags.
It makes it far easier to read and preserves spaces for indenting or fixed-width data

Last edited by rbatte1; 11-08-2017 at 06:45 AM.. Reason: Added CODE tags
# 4  
Old 11-08-2017
No harm in trying it. The issue might be that the device nodes eg, c3t16d0s1 will be missing on that Solaris configuration.

Can you see the VTOC's using 'format', select disk, then 'p' and 'p' again?
Then simply quit out. Do NOT write anything.

If the device nodes being missing stop them mounting we can create them.
The Following User Says Thank You to hicksd8 For This Useful Post:
JhnHta (11-09-2017)
# 5  
Old 11-08-2017
Your answers are highly appreciated!

The partition printout for c3t16d0 looks like this :

Current partition table (original):
Total disk sectors available: 286722911 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector         Size         Last Sector
  0        usr    wm               256      136.72GB          286722911
  1 unassigned    wm                 0           0               0
  2 unassigned    wm                 0           0               0
  3 unassigned    wm                 0           0               0
  4 unassigned    wm                 0           0               0
  5 unassigned    wm                 0           0               0
  6 unassigned    wm                 0           0               0
  8   reserved    wm         286722912        8.00MB          286739295


The prtvtoc printout :

# prtvtoc /dev/dsk/c3t16d0
* /dev/dsk/c3t16d0 partition map
* Dimensions:
*     512 bytes/sector
* 286739329 sectors
* 286739262 accessible sectors
* Flags:
*   1: unmountable
*  10: read-only
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*          34       222       255
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      4    00        256 286722656 286722911
       8     11    00  286722912     16384 286739295

And fstyp for partition 0 shows it's ZFS :

# fstyp /dev/dsk/c3t16d0s0

I'm having hopes the data on the disks is accessible and all is not lost. Never worked with ZFS mounts though. During Solaris10 installation, I've installed UFS on the T5220 I'm using.
# 6  
Old 11-08-2017
Good so far.

Create a mount point eg,

 # cd /
 # mkdir mymount
 # zfs set mountpoint=legacy mymount

When you try to mount, eg,

# mount -F zfs /dev/dsk/c3t16d0s0 /mymount

you may get an error like /dev/dsk/c3t16d0s0 does not exist since this system hasn't had these disks before.

Last edited by hicksd8; 11-08-2017 at 07:52 AM..
# 7  
Old 11-08-2017
That gives me the following error :

# cd /
# mkdir mymount
# zfs set mountpoint=legacy mymount
cannot open 'mymount': dataset does not exist

I'm assuming this is due to having installed Solaris10 with UFS option? I would need to have ZFS filesystem created? Would it make sense to do a clean Solaris 10 re-install and select ZFS filesystem?
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Storage Array not readable prash358 Solaris 9 03-19-2013 01:09 PM
HP Storage Array anand87 HP-UX 0 04-28-2011 02:31 AM
help with configuring J4200 Array pingmeback Solaris 0 05-07-2010 12:09 PM
storage array simulator sijocg Solaris 2 06-01-2009 01:37 PM
acessing awk array element while getline < "file" timj123 Shell Programming and Scripting 9 06-27-2008 11:13 PM
Storage array question ncmurf00 Filesystems, Disks and Memory 1 11-25-2002 03:25 PM

All times are GMT -4. The time now is 08:22 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password