Sponsored Content
Full Discussion: Create a raw partition
Top Forums UNIX for Dummies Questions & Answers Create a raw partition Post 302876368 by Siavash sh on Saturday 23rd of November 2013 12:16:57 PM
Old 11-23-2013
Create a raw partition

Hi,
I had created a primary partition (/dev/sda3) and made ext3 file system on it.
then mounted it on a directory and touch a file (x) into this partition.

however, I want to remove this partition and recreate it as an empty partition. so I used 'd' in fdisk command and delete that partition. But, when I create a new partition, after mounting, there was that file (x) into the new partition. although I don't recreate the file system.

rebooting the OS and removing /dev/sda3 and create this partition as /dev/sda4 does not solve this problem. How can I create a raw partition again? how can I remove the file system over the partition? is there any command like 'rmsf' (as exists in HP-UX) ?

OS: RHEL5.5
Platform: vmware
 

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
vparremove(1M)															    vparremove(1M)

NAME
vparremove - remove a virtual partition SYNOPSIS
vp_name db_file] DESCRIPTION
The command deletes a virtual partition previously created using the command. All resources associated with the virtual partition are made available for allocation to other partitions. Unintentional use of this command has serious consequences; therefore the user is prompted to confirm the operation unless the (force) option is specified. Options recognizes the following command line options and arguments: Specifies the unique name of the virtual partition which is to be removed. Required. Removes a virtual partition from the partition database contained in db_file. If this option is omitted, the virtual partition is removed from the monitor's database. In this case, the partition must be in the state to be removed. Thus it is an error to try to remove the current virtual partition, the one in which the command is executing. Specifies the force option. Omits the confirmation dialog before removing the virtual partition. This option is intended for use by scripts and other non-interactive applications. SECURITY RESTRICTIONS
This command is restricted to processes owned by superuser. When virtual partition flexible administrative capability is enabled, a virtual partition can only be removed from within a Designated- Admin vPar. RETURN VALUE
The command exits with one of the following values: Successful completion. One or more error conditions occurred. EXAMPLES
Destroy the virtual partition in the partition database currently running in the monitor: Destroy the virtual partition in the partition database currently running in the monitor using the force option: Delete partition in partition database file ERRORS
displays error messages on standard error for any of the following conditions: o db_file does not exist, cannot be accessed, is not a virtual partition database file, or is corrupt. o vp_name does not exist in the monitor's database or in db_file. o vp_name in the monitor's database is in some state other than o The command and the virtual partition monitor are at different revision levels. o When the virtual partition flexible administrative capability is enabled and the local virtual partition is not a Designated- Admin vPar. AUTHOR
was developed by the Hewlett-Packard Company. SEE ALSO
vparadmin(1M), vparboot(1M), vparconfig(1M), vparcreate(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M), vparreloc(1M), vparreset(1M), vparstatus(1M), vparutil(1M), vparresources(5), vpartition(5), vpmon(5). vparremove(1M)
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy