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
scrounge-ntfs(8)					    BSD System Manager's Manual 					  scrounge-ntfs(8)

NAME
scrounge-ntfs -- helps retrieve data from corrupted NTFS partitions SYNOPSIS
scrounge-ntfs -l disk scrounge-ntfs -s disk scrounge-ntfs [-m mftoffset] [-c clustersize] [-o outdir] disk start end DESCRIPTION
scrounge-ntfs is a utility that can rescue data from corrupted NTFS partitions. It writes the files retrieved to another working file system. Certain information about the partition needs to be known in advance. The -l mode is meant to be run in advance of the data corruption, with the output stored away in a file. This allows scrounge-ntfs to recover data reliably. See the 'NOTES' section below for recover info when this isn't the case. OPTIONS
The options are as follows: -c The cluster size (in sectors). When not specified a default of 8 is used. -l List partition information for a drive. This will only work when the partition table for the given drive is intact. -m When recovering data this specifies the location of the MFT from the beginning of the partition (in sectors). If not specified then no directory information can be used, that is, all rescued files will be written to the same directory. -o Directory to put rescued files in. If not specified then files will be placed in the current directory. -s Search disk for partition information. (Not implemented yet). disk The raw device used to access the disk which contains the NTFS partition to rescue files from. eg: '/dev/hdc' start The beginning of the NTFS partition (in sectors). end The end of the NTFS partition (in sectors) NOTES
If you plan on using this program sucessfully you should prepare in advance by storing a copy of the partition information. Use the -l option to do this. Eventually searching for disk partition information will be implemented, which will solve this problem. When only one partition exists on a disk or you want to rescue the first partition there are ways to guess at the sector sizes and MFT loca- tion. See the scrounge-ntfs web page for more info: http://memberwebs.com/swalter/software/scrounge/ AUTHOR
Stef Walter <stef@memberwebs.com> scrounge-ntfs June 1, 2019 scrounge-ntfs
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy