Sponsored Content
Operating Systems Solaris How can i list Solaris External storages? Post 302945648 by MadeInGermany on Monday 1st of June 2015 09:22:37 AM
Old 06-01-2015
Store the disk of "/" (minus the dXsX at the end), and search for other disks.
Code:
mount -p | awk '($3=="/") {disk=$1; sub("d[0-9]+s[0-9]+$","",disk)} ($4~/^(ufs|zfs|vxfs)$/ && $1!~"^"disk) {print $3}'


Last edited by MadeInGermany; 06-01-2015 at 10:33 AM.. Reason: added {print}
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Install Solaris on External Firewire Disk

Hello All, I have a laptop running windows 2000 and I have a External Firewire Hard Disk of 60 GB. Now my question is, " Is it possible to install Solaris 8 on this external Firewire Hard Disk". When I tried installing, It did not find the external Firewire Disk, the only partition information,... (1 Reply)
Discussion started by: sanjay92
1 Replies

2. UNIX for Advanced & Expert Users

Reset External Modem / Solaris 8

It's no longer auto answering. I've power cycled the modem, but is there a command to reinitialize the modem/serial port? (1 Reply)
Discussion started by: jgordon
1 Replies

3. Shell Programming and Scripting

Rsync to an external list of URLs

I'm going to have a text file formatted something like this: some_name http://www.someurl.com/ another_name http://www.anotherurl.com/ third_name http://www.thirdurl.com/ I need to write a script that can rsync from a file path I'll set, to each URL in the list. Any ideas? (8 Replies)
Discussion started by: ibsen
8 Replies

4. UNIX for Dummies Questions & Answers

External Network Adapter for Solaris 10

Hi All, I am new here - this is my first post. I have installed Solaris 10 5/09 on my Dell M6300. The install went well, but the Dell's onboard network card is the Broadcom BCM5756ME Gigabit Ethernet - and sadly no Solaris driver exists for it. The Solaris 10 install just jumped by the... (1 Reply)
Discussion started by: soulmerchant
1 Replies

5. Solaris

how to install solaris on portable external harddisk

Hi Fnds, I dont have enough space on my Vista based PC and I want solais to be installed on a portable external hard disk. Can anybody tell me how I can install solaris on external harddisk. cheers :), Vinodky (1 Reply)
Discussion started by: vinodky
1 Replies

6. Solaris

Boot Solaris off of an old external hard drive

Hi Folks, First a little background, I am working on a ship that operates in the Indian Ocean and Persian/Arabian gulf area. We had a Sunblade 2000 that finally died. The Video board burned up and I guess damaged the mother board. So we ordered 2 rebuilt 2000s one as a spare. Due to mounting... (1 Reply)
Discussion started by: Sean.kelly
1 Replies

7. AIX

HACMP two-node cluster with two SAN storages mirrored using LVM

HACMP two-node cluster with mirrored LVM. HACMP two-node cluster with two SAN storages mirrored using LVM. Configured 2 disk heartbeat networks - 1 per each SAN storage. While performing redundancy tests. Once one of SAN storage is down - cluster is going to ERROR state. What are the guidelines... (2 Replies)
Discussion started by: OdilPVC
2 Replies

8. Solaris

Solaris can't detect external HDD on HP server

Hello, Unix users :) Has anyone had this problem when you connect an external hard drive to the server and it is simply not visible with any commands? The server is HP DL380 g8, and OS is: root@...:/# cat /etc/release Oracle Solaris 10 8/11 s10x_u10wos_17b X86 ... (16 Replies)
Discussion started by: Aratai
16 Replies

9. Solaris

Solaris - Sendmail - Adding .com.gr in external senders e-mails

Hello Everybody ! I'm Harry from Athens Greece and i have a problem with my Sendmail 8.13.3 installed on Solaris SunOS ultra 5.10. The problem is that when someone sends to us an e-mail and his e-mail address is like : xxxx@xxxx.com, our e-mail server adds up in the senders address a .com.gr... (2 Replies)
Discussion started by: Mcasim
2 Replies

10. Solaris

How i can backup data's to External Drive in Solaris 10/11?

Hello all, I'm new member and it's a very important for me. I need to backup data's from 3 server ( V880, M5000m and V490) I dont have a chance to use NFS. So i need to backup to Usb External Drive, can you help me with this issue? I dont have any experience about backup, but i need to... (1 Reply)
Discussion started by: sahkel
1 Replies
installboot(1M)                                                                                                                    installboot(1M)

NAME
installboot - install bootblocks in a disk partition SYNOPSIS
installboot bootblk raw-disk-device The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition. The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be found using the -i option of uname(1). The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead. bootblk The name of the bootblock code. raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read- able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive. Example 1: Installing UFS Boot Block To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use: example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0 /usr/platform/platform-name/lib/fs/ufs directory where ufs boot objects reside. /platform/platform-name/ufsboot second level program to boot from a disk or CD See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5) WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device. 11 Apr 2005 installboot(1M)
All times are GMT -4. The time now is 04:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy