Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i have a disk at c0t1d0, and its an old linux disk, i thought i could just to the following to format the entire disk, to remove every parition...
command format -> select disk -> format.
If i then save, and reenter, and type partition->print i see that the partitions still are there. isnt there any fdisk command, if i type help under the format command, i cant see any fdisk command.
i thought partitions and slices where the same thing ?
The thing i want to do is really simple to describe
I have a linux disk, with 3-4 ext3 partitions.
1. I want to delete all the partitions on that disk (wipe it clean)
2. Create 1 large partition of the whole disk size
3. Format that partition with ufs
4. Mount the partition
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by linuxtesting2
i thought partitions and slices where the same thing ?
Partitions in the Solaris on x86 terminology are only one of the 4 primary partitions of a disk, plus extended partitions which are only supported for FAT.
partitions names end with p1, p2, p3 or p4, there is also p0 which means the whole disk, and p0:x which mean an extended partition.
One of the primary partitions can be of Solaris or Solaris2 type.
This partition is subdivised in areas called slices, which are sometimes called partitions on SPARC.
Their names end with s0, s1, s2, ...
By convention, s2 is a slice representing the whole size available, and shouldn't be changed.
You manage partitions with fdisk, and slices with format/fmthard/prtvtoc.
Quote:
The thing i want to do is really simple to describe
I have a linux disk, with 3-4 ext3 partitions.
1. I want to delete all the partitions on that disk (wipe it clean)
2. Create 1 large partition of the whole disk size
3. Format that partition with ufs
4. Mount the partition
Okay, use fdisk to set a single partition spanning the whole disk, then use format to create a slice 0 with all space available.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.