Sponsored Content
Full Discussion: Adding a new HDD
Top Forums UNIX for Dummies Questions & Answers Adding a new HDD Post 302091923 by BOFH on Thursday 5th of October 2006 10:55:03 PM
Old 10-05-2006
For Solaris (I know, big help Smilie ), I run the command touch /reconfigure and then bring down the system. This file (and reboot -- -r or boot -r when starting from the OpenBootProm) tells Solaris to rebuild the device tree when the system comes back up.

I install the drive and then bring the system up. Running format will show me all the drives the system can see. Enter the drive number (0 to the last disk) then the commands p and p to display the partition table information.

Once that's there, I can assign blocks to specific slices, 0 through 7. Once assigned, I enter the command l for label which writes the partition table to the disk. q to quit and q to quit format puts me back to the prompt.

Once the disk partition table has been written, I need to run newfs on the newly allocated slice which puts down a default ufs type file system. I can then mount it to its new home.

Once it's mounted and I know it works, I'll edit /etc/vfstab and add the new mount point so it's mounted upon next boot.

You might check this site: http://bhami.com/rosetta.html

With the commands I layed out above, you might be able to figure out the correct SCO commands to use to do the same thing.

Ohhh, a quick google search finds this: http://docsrv.sco.com:507/en/HANDBOO...ks_adding.html

This link might be perfect.

Carl
 

10 More Discussions You Might Find Interesting

1. HP-UX

Hdd problem, help!!!

Hi, My HP-UX has some errors to wake up and one of them are: /dev/vg00/rlvol4 BAD CYLINDER GROUPS I have thought that my hdd has physical problems, my question is: Exists a program to check the hdd physically and to repair it... Thanks.... (0 Replies)
Discussion started by: efrenba
0 Replies

2. Ubuntu

How can I get Knoppix on HDD

Umm How can I get the Knoppix can be booted off my hard drive instead of the CD. I dont like using the CD. :confused: (4 Replies)
Discussion started by: shade11
4 Replies

3. Solaris

Partioning HDD

Hi theres I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies

4. Shell Programming and Scripting

Mounting Hdd

Can anybody help me. How can I retreive a data from my old unix SCSI hdd. My server is having a new SCSI Hdd. What should I do. Somebody was telling to mount the old hdd and take. What should I do to mount this old hdd and copy the data. Rajesh, Tata Coffee Ltd (2 Replies)
Discussion started by: tatacoffee
2 Replies

5. Solaris

Adding new Hdd in sun 10 with vmware workstation

hi, i am using vmware workstation 6.0 and i installed sun solaris 10. when i add new hard disk(vm->>settings->>add). when i start the system and try to use format command there i only see my old one hdd (new added hdd is not showing). but my new hdd is showing at the bottom right as a icon where... (2 Replies)
Discussion started by: Anand15880
2 Replies

6. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

7. UNIX for Dummies Questions & Answers

help me format hdd!!

i just got a copy of windows and when i go to install it, it says i cant because it needs an ntfs file system. can anyone help me format my hard drive through linux? (2 Replies)
Discussion started by: camroc84
2 Replies

8. Shell Programming and Scripting

Adding new lines to a file + adding suffix to a pattern

I need some help with adding lines to file and substitute a pattern. Ok I have a file: #cat names.txt name: John Doe stationed: 1 name: Michael Sweets stationed: 41 . . . And would like to change it to: name: John Doe employed permanently stationed: 1-office (7 Replies)
Discussion started by: hemo21
7 Replies

9. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

10. UNIX for Beginners Questions & Answers

Adding to an array in an external file, and adding elements to it.

I have an array in an external file, "array.txt", which contains: char *testarray={"Zero", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"};I want to be able to add an element to this array, and have that element display, whenever I call it, without having to recompile... (29 Replies)
Discussion started by: ignatius
29 Replies
extendfs(8)						      System Manager's Manual						       extendfs(8)

NAME
extendfs - Extends UFS file systems SYNOPSIS
/sbin/extendfs [- s] [disk_blocks] device_name DESCRIPTION
Use the extendfs command to increase the storage space in a UFS file system. The file system must not be mounted when you perform this operation. To extend a mounted (in use) UFS file system, use the mount command with the -o extend option. The procedure for increasing the storage space of a UFS file system is as follows: Look at the contents the /etc/fstab file to identify the disk partition that maps to the file system. Ensure that there is available storage space on the target disk as follows: If LSM is in use on your system, use LSM commands to increase the size of the LSM volume as described in the Logical Storage Manager guide. If LSM is not in use on your system, use the disklabel command or the diskconfig graphical user interface to check the current size and use of partitions on the disk. If there is adequate space on an adjacent partition, use the disklabel command to write the current label to a file as fol- lows: # disklabel -r dsk4 > d4label Edit the disklabel file to change the size of the partition on which your UFS file system resides. Increase the number of disk blocks on the partition and decrease the disk block size of the adjacent partition by an equivalent number. Use the disklabel command with the -R option to write the revised label to the raw disk as follows: # disklabel -R /dev/rdisk/dsk4 d4label When the disk label is revised, extend the file system using the extendfs command. You can either use the full extent of the newly sized partition or extend the file system in stages. The following example commands show both methods. To extend the file system to use all the available space, you specify the disk partition on which the file system resides, as follows: # extendfs /dev/disk/dsk4g To extend the file system to use only part of the available space, you specify a number of disk blocks, as follows: # extendfs -s 300000 /dev/disk/dsk4g The remainder of the extended partion is reserved for future use. You can extend a file system as many times as necessary, up to the physical limit of the storage device. When no more space is available on the storage device, you must back up the file system using the dump command and restore the file system to a storage device that has more available space. Once you have extended a file system, the operation cannot be reversed except by a back up and restore operation. Use the dump command to back up the file system. You can then reset the partition sizes manually and restore the file system to the storage device. ERRORS
The disklabel command produces output similar to that of the newfs command. If a list of disk blocks is not displayed on the terminal, the command has failed. Verify the partition settings and the mount status of the target file system. The disklabel command does not permit you to overwrite a partition if it is in use. Refer to the disklabel(8) reference page for more information on label errors. FILES
Specifies the command path. RELATED INFORMATION
diskconfig(8), disklabel(8), mount(8), and fstab(4). extendfs(8)
All times are GMT -4. The time now is 08:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy