Question

basic partition question

Asked by: nukevet

I have a Sunblade 2000 running Solaris 8.  The hard drive contains a "flashed" image of a medical imaging program.  When I look at the partition table, I see that partitions 6 and 7 are both unassigned.  Partion 6 is 49.3GB and partition 7 is 7GB.

Does this "unassigned" mean that this space is not being used by any file system?  If so, I have about 55GB of a 70GB hard drive in this classification.

If I were to assign a category, such as /usr, to one of these slices, would it jeopardize any of my existing data on the disk?  I don't have a tape back-up system, although I could perhaps borrow one from our IT department

Neal

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2003-04-26 at 10:18:20ID20597250
Tags

partition

,

solaris

Topic

Sun Solaris

Participating Experts
5
Points
0
Comments
7

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Split a partition
    When i installed linux ( RH 6.0 ) I choked when i partitioned. My "/ " partition is too small while " /home " is too big. I'd like to split /home into 2 partitions and stick /usr and /var into the new partition. I am hoping that it is easy as backing up ...
  2. Let Solaris read from ext2 partitions.
    Hello, Can you help me how I can read from an EXT2-partition? The background is this: Had Linux installed and did an backup to an EXT2 partition (less smart, i know). Installed Solaris 8, and want some info from the backup. But I guess the only way is to set up an computer ...
  3. Tape Partition
    About the mkpartition in mt command, this IOCTL request formats a tape into two or more partition. About the size argument, if i indicate 10, the remaining of the tape will go to the partition 1 ( partition 0 is the 1st partition), mt -f /dev/nst0 mkpartition 10 what is...
  4. solaris resize partitions
    I have a Sunfire v120 with Solaris 8, there are two partitions 0 root wm 0 - 5880 8.10GB (5881/0/0) 16990209 7 home wm 6091 - 24619 25.53GB (18529/0/0) 53530281 I need to resize the partitions without losing anything , I would...
  5. solaris new partitions
    I need to setup a second disk I have on a solaris 9 box for my apps and logs. Ok, I thought I had this but guess I don't. Below is what my 2nd disk looks like now that I've played with it. what I want to do here is use: #1 for more swap #6 for apps #7 for logs/archives and ba...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: mrquinPosted on 2003-04-26 at 18:39:14ID: 8403248

A filesystem could be labeled as unassigned by the administrator after the installation was done.  It does
not mean it is not being utilized.  The options for disk drive labelling are:
  unassigned    boot          root          swap
  usr           backup        stand         var
  home          alternates
(this is found when you format a drive, look at the partition table, the try to assign a partition

partition> print
Current partition table (original):
Total disk cylinders available: 19156 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm     515 - 19155       36.27GB    (18641/0/0) 76055280
  1       swap    wu       0 -   514        1.00GB    (515/0/0)    2101200
  2     backup    wm       0 - 19155       37.27GB    (19156/0/0) 78156480
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm       0                0         (0/0/0)            0
  7 unassigned    wm       0                0         (0/0/0)            0

partition> 4 (attempt to assign partition 4)
Part      Tag    Flag     Cylinders         Size            Blocks
  4 unassigned    wm       0                0         (0/0/0)            0

Enter partition id tag[unassigned]: ? (I typed in a question mark)
Expecting one of the following: (abbreviations ok):
        unassigned    boot          root          swap
        usr           backup        stand         var
        home          alternates

Enter partition id tag[unassigned]:

you can reassign the labeling yet still have data on that partition)

Also...if you have a database on your system (ie: Oracle), it could be utilizing this disk space (a raw partition with no filesystem built on it).

Hope this helps...


Mark

 

by: soupdragonPosted on 2003-04-27 at 04:30:21ID: 8404594

You can change the partition flag from unnassigned to usr and save the partition table without affecting the underlying data. However, if you now attempt to do anything with the partition - i.e. newfs it, at this point you will be overwriting any data that resides there.

First off, check what is actually mounted as a file system and match this up with your parition table.

#df -k | grep '^/' to show mounted partitions ignore /proc since this is a virtual filesystem. As Mark says partition 6 and 7 may be in use but simply marked unassigned.

#swap -l to list swap partitions

If you are running disk management software, the device paths will contain vx (Veritas) or md (Disksuite). For these you need to see how they have been allocated.

# vxdisk list to list disks under Veritas control and
# vxprint -hrt shows how partitions have been assigned.

# metastat to see how Disksuite is layed out

Commonly Veritas uses encapsulation to take over control of the whole disk - so any unassigned space is allocated as free space under Veritas control.

If your system is simply using normal device files /dev/dsk/... then you still have to carry out a couple more checks to see if the space really is free.

If you have a database system running on your server, it may be using raw devices. ls -l /dev/dsk will show a list of links to the underlying device files. cd to this underlying directory and call fuser -f * to see if any processes are attached to the unassigned slices.

Finally your supplier may have used the unused slices to take a back up a copy of your system before shipping it. By attempting to fsck the raw device you can see if it has a filesystem created on it and what it was last mounted as.

If you are unsure, your best bet might be to call the people who set your system up and find out how the system is layed out. This should really have been documented.

 

by: nukevetPosted on 2003-04-27 at 09:34:12ID: 8405658

SoupDragon (and Mark)

df -k | grep '^/' returns:

/dev/dsk/c1t1d0s0    2058319 1695233  301337    85%    /
/proc                      0       0       0     0%    /proc
/dev/dsk/c1t1d0s3    2058319   69574 1926996     4%    /var
/dev/dsk/c1t1d0s7    7230605  225733 6932566     4%    /export
/dev/dsk/c1t1d0s5    2058319    2076 1994494     1%    /files
/dev/dsk/c1t1d0s4    2058319  399262 1597308    20%    /opt


Suggesting that slice 6 is not mounted as a filesystem.  This is my partition table information:

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -   412        2.00GB    (413/0/0)     4202688
  1       swap    wu     413 -  1237        4.00GB    (825/0/0)     8395200
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3        var    wm    1238 -  1650        2.00GB    (413/0/0)     4202688
  4 unassigned    wm    1651 -  2063        2.00GB    (413/0/0)     4202688
  5 unassigned    wm    2064 -  2476        2.00GB    (413/0/0)     4202688
  6 unassigned    wm    2477 - 12643       49.33GB    (10167/0/0) 103459392
  7 unassigned    wm   12644 - 14086        7.00GB    (1443/0/0)   14683968

swap -l returns:

swapfile             dev  swaplo blocks   free
/dev/dsk/c1t1d0s1   118,1      16 8395184 8395184

ls -l /dev/dsk returns lots of things, the 2 that are relevant to slice 6 are:

lrwxrwxrwx   1 root     root          42 Mar 20 14:14 c0t6d0s6 -> ../../devices/
pci@8,700000/scsi@6/sd@6,0:g

lrwxrwxrwx   1 root     root          70 Mar 20 14:14 c1t1d0s6 -> ../../devices/
pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cfb467e7,0:g

I am unsure how to make it to the raw file directory from here, to try the fuser -f command.

Thanks for the help so far - I've already learned a ton of stuff.  I have also put a call in to the manufacturer for assistance.

Thanks again,

Neal






 

by: mrquinPosted on 2003-04-28 at 01:24:57ID: 8411207

a couple of things to check:
   metadevice configurations:
   /etc/lvm/md.tab   (see if /dev/dsk/c1t1d0s 6/7 are being
                      configured)

   check to see if you have a database installed or not.
   Ie: oracle, look for the ora.tab file.  It should tell
   you if you have a raw partition configured in your
   system.

you did the df -kl (that looks okay)

read the logbook on your server (someone may have documented it before)  I document the hell out of my
servers.

worse case...install another disk drive on the system, they are very inexpensive now-a-days.

Also, try to mount the disk on a partition (DON'T NEWFS it)
if it mounts, it was newfs'ed before.  If it doesn't mount, it is unformated (but still might be a raw partition for Oracle or something).

(it's always best to be cautious than to kill years worth of data :)

 

by: darrenr3526Posted on 2003-04-30 at 06:22:34ID: 8427872

Are there entries in /etc/vfstab for these partitions?

If you have Informix as a database on this system look the are aor raw disk that /dev/online_root points to.

Follow /dev/rdsk/<controller><target><disk>slice6/7 to see if that particular slice is owned by a particular user or group that may identify a use for it.

D.

 

by: liddlerPosted on 2004-02-29 at 01:33:32ID: 10479408


No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ and refund

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

liddler
EE Cleanup Volunteer

 

by: ampPosted on 2004-03-05 at 07:32:04ID: 10523506

PAQed, with points refunded (250)

amp
Community Support Moderator amp~at~experts-exchange.com

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...