Sponsored Content
Top Forums Shell Programming and Scripting How to create ext3 filesystem on regular file? Post 302469086 by pludi on Thursday 4th of November 2010 04:46:38 PM
Old 11-04-2010
Either
Code:
mkfs -t ext3 ext3.img

, or
Code:
mkfs -t ext3 $( losetup -sf ext3.img )

The second version will bind the image file to a loopback device which can be used like any other device.
This User Gave Thanks to pludi For This Post:
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

ext3 filesystem

what do you think about the ext3 journal filesystem?? (3 Replies)
Discussion started by: comadreja
3 Replies

2. Filesystems, Disks and Memory

ext3: No journal on filesystem on dm-0

Hi Linuxers, I am a newbie here and loggin this facilities regularly. Recently my PC experience a power trip, my system could not boot up after restarting. I did the following : - Boot up with "linux rescue" using installation disk FC3 - In a shell, run "lvm vgchange... (0 Replies)
Discussion started by: chowkimhan
0 Replies

3. Solaris

How to create a 2 TB UFS filesystem?

Hi, I have a 2,1 TB RAID0 Array (3- 750GB discs). I have Solaris 10 x86 installed. When I try to create a volume on this drive I receive the following error: " WARNING: /pci@0/pci8086/..../sd@6,0 (sd7) disk capacity is too large for current cbd length " I assume I can not format... (5 Replies)
Discussion started by: narrok
5 Replies

4. SCO

create filesystem on file

Hello, iam pretty new to SCO, installed it yesterday in vm. Now, i'd like to create a filesystem on a file like you can do on lnx or bsd. But seems not possible for me to do so on SCO OpenServer 6.0.0. Thats what i get: bash-3.00# uname -a SCO_SV scosysv 5 6.0.0 i386 bash-3.00# mkfs... (0 Replies)
Discussion started by: user5
0 Replies

5. HP-UX

Steps to Create a FileSystem HP-UX

Steps to create FileSystem, and later to modify size in HP-UX. Please (1 Reply)
Discussion started by: granador
1 Replies

6. Linux

Create an ext3 fs image

Which I will use as a loop mount mounted on an arbitrary directory, say /home/me/dir running something like mount -o loop ext3_image.img /home/me/dir What command(s) should I run to create this? I use RedHat. Thanks in advance (1 Reply)
Discussion started by: stevenswj
1 Replies

7. Red Hat

how to create a Filesystem

Hi everybody, I work with UNIX-AIX OS, I have to install db2 connect , somebody could explain to me how to create a Filesystem?, user, group, and password? ( I read a little and I know there many types of Filesystems) I have no idea how to do it, Linux version 2.6.18-92.el5... (2 Replies)
Discussion started by: lauelmar
2 Replies

8. Linux

I need help rebuild ext3 filesystem

hi to all I wanted to edit a enigma2 image to my box .. the image is root.img .. Analysed then I have the picture and I have this: parted root.img WARNING: You are not superuser. Watch out for permissions. GNU Parted 2.2 Using /home/soft/Bureau/enigma2/root.img Welcome to GNU Parted! Type... (3 Replies)
Discussion started by: soft
3 Replies

9. Red Hat

Expand EXT3 filesystem ( No LVM)

hi, In my production server having Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) Red Hat Enterprise Linux Server release 5.5 (Tikanga) we have a filesystem of 197 gb (Type ext 3) Hadisk in which this filesystem reside is sdb is of 217 gb. (NO LVM) Now I want to... (6 Replies)
Discussion started by: salmanraza
6 Replies

10. UNIX for Advanced & Expert Users

Errors received while restoring my data from ext3 filesystem

Hi All, I have dual boot on my laptop - Win8 And linuxMint. From linuxmint i had copied all my data found on the NTFS partitions (on my laptop) to an external hard drive (formatted with ext3). i used rsync for this. Now after my hard disk crashed, am restoring the data back from ext3... (2 Replies)
Discussion started by: coolatt
2 Replies
partclone.extfs(8)					      System Manager's Manual						partclone.extfs(8)

NAME
partclone.extfs - The utility for clone and restore an etx2/ext3 partition. SYNOPSIS
partclone.extfs [options]... [MODE] [SOURCE FILE] [OUTPUT FILE] DESCRIPTION
partclone.extfs is a part of Partclone project for ext2/3 file system. Partclone is a project like the well-known backup utility "Parti- tion Image" a.k.a partimage. Partclone provide utilities to back up used blocks and design for higher compatibility of the file system using supported library like e2fslibs. OPTIONS
-o, --output FILE Output FILE -O --overwrite FILE Output FILE, overwriting if exists -s, --source FILE Source FILE -L, --logfile FILE Log FILE -c, --clone Save to the special image format -r, --restore Restore from the special image format -b, --dev-to-dev Local device to device copy mode -D, --domain Create GNU Ddrescue domain log file from source device --offset_domain=X Add X (in bytes) to all positions reported in the domain log file -R, --rescue Continue after disk read errors -dX, --debug=X Set the debug level to X = [0|1|2] -C, --no_check Don't check device size and free space -X, --dialog Output message as Dialog Format -I, --ignore_fschk Ignore filesystem check --ignore_crc Ignore crc check error -F, --force Force progress -f, --UI-fresh Fresh times of progress -q, --quiet quiet mode, no progress update -v, --version Display partclone version -h, --help Display this help Examples: clone /dev/hda1 to hda1.img and display debug information. partclone.extfs -c -d -s /dev/hda1 -o hda1.img restore /dev/hda1 from hda1.img and display debug information. partclone.extfs -r -d -s hda1.img -o /dev/hda1 restore image from clonezilla(split, gzip,) with stdin source cat sda1.ext3-ptcl-img.gz.a* > gunzip -c | partclone.ext3 -d -r -s - -o /dev/sda1 REPORTING BUGS
Report bugs to <thomas@nchc.org.tw> SUPPORT
You can get support at http://partclone.org AUTHOR
This manual page was written by Thomas Tsai <thomas@nchc.org.tw> partclone 0.2.48 Nov 2007 partclone.extfs(8)
All times are GMT -4. The time now is 07:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy