Does formatting slice 2 (backup) destroy disk geometry?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Does formatting slice 2 (backup) destroy disk geometry?
# 1  
Old 10-04-2011
Question Does formatting slice 2 (backup) destroy disk geometry?

I am a new Unix Sys Admin who is learning mostly from books with minimal classroom training (ie: no certificates, training is largely hands-on, conducted at work). I work with Solaris 8 through 10, and with some fairly outdated hardware. In my work restoring old workstations I have been instructed to avoid formatting or "newfs-ing" slice 2 (which is reserved for "backup" in our systems, marked with flag "wu"); I am told this will destroy the "disk architecture" or "disk geometry" and render it unusable. Despite the warning, I have made the error of formatting slice 2 (using the "format" command), and while the partition spans the entire disk (per our partition tables), I was informed that I have destroyed the disk in the process. To make matters worse, I built a file system on slice 2 with "newfs."

I have done lengthy research online trying to determine exactly what disk geometry or disk architecture is and how it is possible that software can destroy a physical disk but I am at a loss. I understand that slice 2 is historically "reserved" and spans the entire disk; what I do not understand is how altering this slice can destroy a disk.

Can anyone shed any light on this argument? Or better yet, can anyone tell me how to test this theory or recover from the damage I have caused? Is this just an antiquated idea with "historical" significance only or have I really and truly destroyed a piece of hardware with a simple command?

Thanks in advance!
# 2  
Old 10-04-2011
You did not physically destroy the disk. You destroyed any data that was in the various partitions on the disk by creating a filesystem on slice 2 which was set to span the whole disk. There is nothing stopping you using disk in the future.
# 3  
Old 10-05-2011
Thank you for the response, fpmurphy. Based on your response, I am assuming that the way to use this disk in the future is to start fresh by formatting and rebuilding partitions?

I really appreciate your response; do you by any chance know where I can find some documentation that supports your assertion that the disk is usable? I would like to bring this information to my trainer. Have you ever heard of anyone else making a claim such as his? I really want to track down some more info on this case but haven't had much luck on my own.

If anyone has any resources describing disk architecture (and its non-volatile nature) I would find them most helpful; I can only seem to find elementary drawings and explanations of the physical disk parts while, based on the training I have received, there is supposedly some sort of software or firmware which allows the system to communicate with the disk and which is able to be deleted inadvertently by inexperienced admins.

Thanks again!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

ZFS Slice disk

Hi, How to to make a slice and define as ufs from zpool? Please advice me. Thanks. ---------- Post updated at 01:53 AM ---------- Previous update was at 12:24 AM ---------- Before slice: Part Tag Flag Cylinders Size Blocks 0 root wm 0 ... (2 Replies)
Discussion started by: mzainal
2 Replies

2. Solaris

Trouble creating a disk partition slice (EFI)

Hi all, I am using SPARC Solaris 11.1 with EFI labelled disks. I am new to ZFS file systems and slightly stuck when trying to create a partition (slice) on one of my LUNs. EFI labels use sectors and blocks and I am not sure how exactly it works. From here I can try and create a... (2 Replies)
Discussion started by: selectstar
2 Replies

3. Solaris

ZFS - whole disk Vs slice

we have a ZFS file system that was created as a pool of just one disk (raid on a SAN) when this was created it was done as a whole disk, and so EFI label. now we want to mount this file system into an LDOM. my understanding of how ldom's and disk works this is that we can only do this as a... (1 Reply)
Discussion started by: robsonde
1 Replies

4. Solaris

label a slice on disk erorr

Hi there, I am trying to do root volume mirroring on SunFire V210 server. I have two disks in it.First one is c1t0do and second one is c1t1do. Both disks already have partitions in them so I am deleting the partitions of second disk(c1t1do) using format command and selecting cylinder start 0... (2 Replies)
Discussion started by: newbi8321
2 Replies

5. Shell Programming and Scripting

Looking for help with script to assign all disk space to slice#0 on multiple disks of varying sizes

Hi Folks, I am trying to make a script to assign all diskspace to slice 0, on multiple sized disks. Since the disks are new they may need to be labelled also to avoid the error: Cannot get disk geometry Below is my code struggling with logic which doesn't seem to be producing the desired... (0 Replies)
Discussion started by: momin
0 Replies

6. Solaris

Ways to analyse root disk slice

Hi, Recently I faced with need of analyze root disk. I figured out two possible ways to do it: 1. Practical. Boot from CD and run format 2. Theoretical. Create live upgrade boot environment on another disk, activate it, reboot, unmont all root disk partitions and run format. I've already... (3 Replies)
Discussion started by: Sapfeer
3 Replies

7. Solaris

Puzzled over over the relationship between the partition and geometry of hard disk.

Not sure why solaris couldn't detect the geometry of a hard disk which has a working OS of winxp pro. Is it due to the different OS that the partition information is stored in different location? When I type '"format" it is shown as below, c3d1 < drive type unknown>... (5 Replies)
Discussion started by: just.srad
5 Replies

8. UNIX for Advanced & Expert Users

Mirroring Disk Geometry

How can one mirror disk geometry from one hard disk to another in Solaris. Is disk snapshot same as a mirror? Pls explain. (3 Replies)
Discussion started by: lexusujx
3 Replies

9. Solaris

mirroring the boot slice (slice 8) on x86

Hi there I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
Login or Register to Ask a Question