I have two SCSI Hard Drives [Disk0: c0t0d0 & Disk1: c0t8d0] in a Sun Solaris 8 server as shown below. I would like to access Disk1 and look at its contents, directory structure and files. How do I change my default directory from Disk 0 to Disk 1 and vice versa?
On what directories are these two two disks mounted?
What do you mean by "default directory"? You use your shell's cd utility to change your current working directory to a different directory.
You create a new user in your system's user database (/etc/passwd and associated files) with whatever directory you want to be that user's home directory.
This User Gave Thanks to Don Cragun For This Post:
There are two SCSI Hard Drives in the Server: Disk 0 (Primary Disk with Solaris 8 on it) and Disk 1 (Secondary Disk with an Application on it). When I login to the Server as Root and issue the command: ls -la does it show me the files and directories on both Disk 0 and Disk 1 or just Disk 0?
I assumed it showed me the directory structures and files on disk0 only, and not on both since I would have to change and access the other disk 1 to look at its directory structure and files. Is this assumption correct?
I'm thinking it's like changing between drive A: and drive B: on a PC. Is this the same way in Solaris OS?
I'm new to Solaris and sorry for asking you basic questions.
I repeat: On what directories are these two two disks mounted?
If the filesystems on those disks have not been mounted, you will not be able to use ls to list the files on those disks. If you have mounted them, you can use:
to get a long listing showing all of the files on that disk (assuming that the disk is mounted on the directory /mountdir and on all filesystems mounted on directories located in that filesystem, recursively. The command:
will list all of the files on every filesystem that is currently mounted.
The command:
with no operands (only the options you have shown), will give you a long listing of all files in your current working directory.
This User Gave Thanks to Don Cragun For This Post:
I guess you have to mount the other Disk before you can access to it.
Up to my knowledge, I only know how to mount other disk by certain partition only but not for all, hence you have to know the file you want to access was being stored in which partition first, so you can mount the partition for your access.
Below is the command which I use to mount on disk1 sectorX as /mnt
"/mount /dev/dsk/c0t1d0sX /mnt"
Ok so i thought i was smart but i can tell I need some help. I am playing around with understanding lvm and adding disks to a linux box. I added a disk and then ran what i thought were commands to add this disk to the box but I think I messed up and would like some help. My question is did i... (5 Replies)
I have three Sun Oracle Netra T5220s. I am trying to just get the processor information psrinfo or prtdiag -v from the # prompt in single user mode.
I am needing to know the commands to get to boot the CD/DVD of the Solaris OS. I am using it via Serial Port Management.
Tinkering around I... (4 Replies)
Hello everyone. I have a question which I may know the answer to, I'm just looking for a confirmation. When it comes to the MBR of a hard drive, i've read in multiple sources that it's always located in the first sector of the hard drive. Is the MBR there from the factory? When I buy a new blank... (3 Replies)
I have a T2000 Sun-Fire server. I have 2 sets of drives in a raid 1. Lets call them Set A and Set B. I had Set A installed and working. I needed a new install so I so build up Set B. After some time I wanted to put Set A back in the server. Now the system will not boot off of Set A. I tried to boot... (7 Replies)
I need to add two new hard drives of 300 GB capacity to a SunSPARC T5440 server. The server currently has two hard drives of 146 GB each.
How do I add the new drives to the existing UFS?
What are the procedures involved in setting this server with the new hard drives? I am very new to Solaris... (6 Replies)
Folks;
I just added 2 physical new hard drives to my SUSE server. My server is already running SUSE 10.3 version.
Is there a command i can use to add the new space or even see if the system can sees them? (3 Replies)
Version: solaris 10 x86
I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac.
I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
I am using an Acer Aspire 4720Z with two partitions C and D. Windows is installed on C and I decided to install Red Hat Linux 9 in partition D. The two partitions are in NTFS file system. During my installation of the the Linux, a prompt was displayed on screen with the message: "No hard drives... (2 Replies)
Hello,
Running a Sun Solaris 9 E250 and need advice or suggestions on what type of external hard disks are compatible and or available. It's an old machine and is due for replacement soon but in the short term need an external hard drive for backup etc as the partner/backup machine has just... (2 Replies)
Will some one tell me what this means.
"warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20."
I'm running SCO 505 on a proliant 1600r.
Thnank you in advance. (3 Replies)