Sponsored Content
Full Discussion: Fomatting Solaris Hard Disk.
Top Forums UNIX for Dummies Questions & Answers Fomatting Solaris Hard Disk. Post 61642 by mrgubbala on Monday 7th of February 2005 04:12:18 AM
Old 02-07-2005
Question Fomatting Solaris Hard Disk.

Hi Friends !
How long does it take to format a hard disk under Solaris ?
Once the format starts, what data will be cleared or deleted first ? i.e whether the OS is cleared or all the data other than OS is cleared first ?

Then, if the format starts and the power goes off, can i retrieve data?
I came to know that once the format starts, it first clears the boot sectors, so the machine can not be booted again. But, if we can boot the machine by someway, we can still retrieve the data, is it so ??
Can somebody throw some light on this topic.

Thanks,
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Solaris in Bran new Hard disk..

Hello there !!! I am going to install solaris 8 on brand new hard disk, which i just attatched with computer. Hard disk is already formated or do i have to use some kind of fdisk prior to install solaris ? OR solaris automatically format this new hard disk ? How does this work with... (2 Replies)
Discussion started by: abidmalik
2 Replies

2. Solaris

Solaris 10 - breaking of mirror and change new hard disk

Hi, am a newbie at solaris. Need advice and help on this. 1) How do I break the mirror between 2 hard disks. (wish to keep 1 good hard disk as backup) 2) After remove 1 hard disk and put in new hard disk, how do I initialise or fomat the new hard disk? 3) How do I put back the backup... (3 Replies)
Discussion started by: chongkls77
3 Replies

3. Solaris

Write protected hard disk on Solaris 9

Hi Peeps, Trying to run analyze and verify on a disk, it won't as it's telling me the disk is write protected. Anyone got any ideas on how to remove the write protection???? Didn't even know you could write protect hard disks. Thanks for any advice Marty (2 Replies)
Discussion started by: callmebob
2 Replies

4. Solaris

Error after installing 2nd hard disk on Solaris 10?

I installed Solaris 10 on this Dell 5150 with only 1 SATA hard drive setup, all went well, and I could view the disk in the disk management window. However, I setup a 2nd hard drive, identical to 1st drive. Solaris wont recognize it and gives an error when trying to view disks in disk management... (5 Replies)
Discussion started by: Joncamp
5 Replies

5. Solaris

Solaris 10 - How to find the total size of my hard disk?

Friends, I have an 80 GB HDD, but I wish to know if there is a direct command in Solaris 10 to find out the size of my hard disk (similar to fdisk -l in Linux). Thank you saagar (3 Replies)
Discussion started by: saagar
3 Replies

6. Solaris

Solaris 8 - Removable hard disk

Hi Gurus, I have difficulty in configuring removable hard disk in Solaris 8. I have connected hard disk to machine but I do not know how to configure it. Kindly tell me, how should I configure it .. so that I can create a mount point on this and write files to them. Regards Srini (7 Replies)
Discussion started by: sri243
7 Replies

7. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

8. Solaris

Hard disk resizing Solaris

Dear All, I have a task of resizing the Solaris Partitions. This server contains SVM. Kindly let me know the steps in resizing the partitions and precautions. Regards Rj (3 Replies)
Discussion started by: jegaraman
3 Replies

9. Solaris

solaris hard disk not detected

Dear all, I have a Sol 10 server. When I put df -h , it is showing the mount points of all file systems, but when I format the server it is showing the below output bash-3.00# format Searching for disks...done No disks found! Pl let me know what is the problem for this. ... (5 Replies)
Discussion started by: jegaraman
5 Replies

10. UNIX for Dummies Questions & Answers

How to use a old window hard disk on Solaris ??

Hi, How can i use a old window 200Gb IDE harddisk on Solaris8. At the Solaris 8 install utility, it could only detect 50Mb for space ! Is the format wrong ? Do i need to re-do the partition ? I am using a Sunblade150 with solaris8 Thank u for the help... (1 Reply)
Discussion started by: Snubber
1 Replies
fmthard(1M)															       fmthard(1M)

NAME
fmthard - populate label on hard disks SYNOPSIS
SPARC fmthard -d data | -n volume_name | -s datafile [-i] /dev/rdsk/c? [t?] d?s2 fmthard -d data | -n volume_name | -s datafile [-i] /dev/rdsk/c? [t?] d?s2 The fmthard command updates the VTOC (Volume Table of Contents) on hard disks and, on systems, adds boot information to the Solaris fdisk partition. One or more of the options -s datafile, -d data, or -n volume_name must be used to request modifications to the disk label. To print disk label contents, see prtvtoc(1M). The /dev/rdsk/c?[t?]d?s2 file must be the character special file of the device where the new label is to be installed. On systems, fdisk(1M) must be run on the drive before fmthard. If you are using an system, note that the term ``partition'' in this page refers to slices within the fdisk partition on machines. Do not confuse the partitions created by fmthard with the partitions created by fdisk. The following options are supported: -d data The data argument of this option is a string representing the information for a particular partition in the current VTOC. The string must be of the format part:tag:flag:start:size where part is the partition number, tag is the ID TAG of the partition, flag is the set of permission flags, start is the starting sector number of the partition, and size is the number of sectors in the partition. See the description of the datafile below for more information on these fields. -i This option allows the command to create the desired VTOC table, but prints the information to standard output instead of modifying the VTOC on the disk. -n volume_name This option is used to give the disk a volume_name up to 8 characters long. -s datafile This option is used to populate the VTOC according to a datafile created by the user. If the datafile is "-", fmthard reads from standard input. The datafile format is described below. This option causes all of the disk par- tition timestamp fields to be set to zero. Every VTOC generated by fmthard will also have partition 2, by convention, that corresponds to the whole disk. If the input in datafile does not specify an entry for partition 2, a default partition 2 entry will be created auto- matically in VTOC with the tag V_BACKUP and size equal to the full size of the disk. The datafile contains one specification line for each partition, starting with partition 0. Each line is delimited by a new-line character ( ). If the first character of a line is an asterisk (*), the line is treated as a com- ment. Each line is composed of entries that are position-dependent, separated by "white space" and having the fol- lowing format: partition tag flag starting_sector size_in_sectors where the entries have the following values: partition The partition number. Currently, for Solaris SPARC, a disk can have up to 8 partitions, 0-7. Even though the partition field has 4 bits, only 3 bits are currently used. For , all 4 bits are used to allow slices 0-15. Each Solaris fdisk partition can have up to 16 slices. tag The partition tag: a decimal number. The following are reserved codes: 0 (V_UNASSIGNED), 1 (V_BOOT), 2 (V_ROOT), 3 (V_SWAP), 4 (V_USR), 5 (V_BACKUP), 6 (V_STAND), 7 (V_VAR), and 8 (V_HOME). flag The flag allows a partition to be flagged as unmountable or read only, the masks being: V_UNMNT 0x01, and V_RONLY 0x10. For mountable partitions use 0x00. starting_sector The sector number (decimal) on which the partition starts. size_in_sectors The number (decimal) of sectors occupied by the partition. You can save the output of a prtvtoc command to a file, edit the file, and use it as the datafile argument to the -s option. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ uname(1), format(1M), prtvtoc(1M), attributes(5) Only fdisk(1M), installgrub(1M) Special care should be exercised when overwriting an existing VTOC, as incorrect entries could result in current data being inaccessible. As a precaution, save the old VTOC. For disks under one terabyte, fmthard cannot write a VTOC on an unlabeled disk. Use format(1M) for this purpose. 11 Apr 2005 fmthard(1M)
All times are GMT -4. The time now is 08:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy