Sponsored Content
Full Discussion: Create a raw partition
Top Forums UNIX for Dummies Questions & Answers Create a raw partition Post 302876370 by Scott on Saturday 23rd of November 2013 12:42:24 PM
Old 11-23-2013
Hello.

Removing (or creating) a partition with fdisk only updates the partition table. It doesn't affect any other data on the disk (i.e. filesystems).

If you want an "empty" partition again, you can run mkfs again or, alternatively, to "remove" the filesystem:

Code:
dd if=/dev/zero of=/dev/sda3 count=3 bs=512

This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. Linux

Raw partition check

Hi I have Redhat linux 9. How can I check the size of a raw partition Regards, Raja Cool Linux!!! (2 Replies)
Discussion started by: RajaRC
2 Replies

2. Solaris

About raw partition

Hi I have solaris 8 installed on Intel machine. the disk I have is IDE. I would like to know how can I create a raw partition on an IDE disk. Regards, Raja (2 Replies)
Discussion started by: RajaRC
2 Replies

3. Filesystems, Disks and Memory

How To Create Partition In Fc5

Hi sir, I want ask you something, i have Fedora Core 5 installed and i wanted to install windows NT at same machine (laptop), currently i have only this partition $ df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 ... (1 Reply)
Discussion started by: mani_um
1 Replies

4. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

5. Solaris

How to Create New Partition

Hi there Background: New to Solaris - installed VM Ware on a vista laptop, then installed Solaris 10 using ISO file. My aim, is to get to stage where I can install Oracle 11g Database. Question: See attached file. Simple question, how do I create a new partition say called "Oracle" 30G in... (11 Replies)
Discussion started by: Ackers
11 Replies

6. HP-UX

How to create a partition in HP_UX?

I'm using 11i v3. I have a san disk; how to creeate a partition in a normal way similar to fdisk in linux? (not using lvm) The other question is: I created a partiton using lvm and mounted it. experiment is to take a block level snapshot and attach it as a different disk. I attached the disk... (3 Replies)
Discussion started by: ilan
3 Replies

7. UNIX for Dummies Questions & Answers

create new partition

My Linux system's disk is partitioned as follows: center; 1 | 1 | 1 . DEVICE MOUNT POINT SIZE _ hda1 / 100Mb hda5 /usr2048Mb hda6 /home 10Mb hda7 /var512Mb hda8 swap 12Gb There is 4Gb of unpartitioned free space remaining on the disk (in the logical extended partition) The /usr partition... (2 Replies)
Discussion started by: semaphore
2 Replies

8. AIX

AIX 5.3 using raw partition for Oracle 10g

Hellow friends, We are having AIX 5.3 total memory allotted to /Backup directory is 700GB actual used memory is 250GB ..but when i issue df -gt command to check space it is showing /Backup directory is 70% full ..how to identify root cause.? (1 Reply)
Discussion started by: umashankar1987
1 Replies

9. Red Hat

Is it possible to extend a extended partition raw space in harddisk thru rhel 6

hi all, As going thru LVM concepts in rhel 6, got hit with a question about "how to use the raw partition of an harddisk which extended volume is taken a bit" please find the attached diagram... is it possible to use this raw space with previously created extended partition without data... (13 Replies)
Discussion started by: redhatlbug
13 Replies

10. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
WREN(3) 						     Library Functions Manual							   WREN(3)

NAME
wren, ata - hard disk interface SYNOPSIS
bind #H[drive] /dev bind #w[target[.lun]] /dev /dev/hd0disk /dev/hd0partition /dev/sd0disk /dev/sd0partition ... DESCRIPTION
The hard disk interfaces (wren, #w, is a SCSI disk; ata, #H, is an IDE or ATA disk) serve a one-level directory giving access to the hard disk partitions. The parameter to attach defines the numerical SCSI target and logical unit number or the IDE drive number to access. Both default to zero. Each partition name is prefixed by hd and the numeric drive identifier. The partition always exists and covers the entire disk. The size of each partition as reported by stat(2) is the number of bytes in the partition, so the size of is the size of the entire disk. The partition also always exists; it is the last block on the disk for SCSI, second to last for IDE. If it contains valid partition data, those partitions will be visible as well. Every time the device is bound, the partitions are updated to reflect any changes in the parti- tion file. The format of the partition file is the string plan9 partitions on a line, followed by partition specifications, one per line, consisting of a name and textual strings for the block start and limit for each partition on the disk. The program prep(8) writes the partition table for the disk; its use is preferred to writing it by hand. SEE ALSO
prep(8), scsi(3) SOURCE
/sys/src/9/port/devwren.c /sys/src/9/pc/devata.c WREN(3)
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy