General :: Journaling File System For HDD?
Apr 20, 2011
Is there a way to use JFFS2 (or other journaling file system) on an HDD? I'm looking for a file system feature that doesn't overwrite previously written data on an HDD.
Reason I'm asking is I'd like to use the capacity of the HDD as a log of all written activity, with the ability to retrieve old files. i.e. all writes to the HDD would be sequential.
View 1 Replies
ADVERTISEMENT
May 7, 2011
I bought a ssd drive for my laptop, installed it, installed Windows 7, installed Kubuntu 11.04. Till then everything worked fine, and I had following partitions on my disc:
Code:
/dev/sda1 ntfs ~100MB win boot,
/dev/sda2 ntfs ~170GB win main,
/dev/sda3 extended
[code]....
It worked fine. While using 11.04 I encountered a serious bug in nvidia 270.41.06, and decided to switch to Kubuntu 10.10. I installed 10.10 on the very same /dev/sda5 (clicking a checkbox to format it). Everything worked fine, grub was installed and pointing to win7, and kubuntu 10.10. I disabled ext4 journaling as above, rebooted, and found, that grub now points to win7 and 11.04, and that system (which should have been removed during installation of 10.10) loads perfectly fine. I checked where 11.04 had been installed - still /dev/sda5. Win7 loads fine as well, so no linux on /dev/sda2 I checked if there was 10.10 kernel in /boot - no. File system on sda5 had no trace of 10.10.
I formatted sda5 with gparted, installed 10.10 again, disabled journaling and situation repeated, whole file system on sda5 changed. Enabling journaling did nothing, 10.10 didn't come back. I deleted sda3, sda5, sda6, made them again, installed 10.10, disabled journaling, and finally had my 10.10 on ext4 without journaling. So this is kind of solved, but I would still like to know that the hell happend? For the moment it looked like two file systems coexistened on one partition.
View 6 Replies
View Related
Feb 17, 2010
I was reading a website about securely wiping data from your hard drive with wipe on the right click menu, when I stumbled across part of the article where it talked about journaling filesystems.Article
Quote:
There are three types of journaling: journal, ordered and writeback. Using shred, with an ext3 file system presents the user with the problem of secure deletion because it can only really be effectively used with ordered and writeback journals. It also lists ext4 as a journaling file system in the article, so I looked up the wikipedia page on it and I also found this:
Delayed allocationExt4 uses a filesystem performance technique called allocate-on-flush, also known as delayed allocation. It consists of delaying block allocation until the data is going to be written to the disk, unlike some other file systems, which may allocate the necessary blocks before that step. This improves performance and reduces fragmentation by improving block allocation decisions based on the actual file size. So I am confused about this delayed allocation thing. My thoughts are that ext3 and other journaling filesystems are bad to use with secure wipe when they are set on journal mode because that writes the file to the journaling sector as well as to the hard drive. Apparently, in ext3, the default was ordered mode. I would like to know if anyone has any idea if the ext4 file system on karmic 64bit is hazardous to the security of using the wipe command.
View 2 Replies
View Related
Feb 19, 2010
I have some very confidental files on my computer that I store such as credit reports, and other things. I always encrypt them with GPG, but there still is that original non-encrypted file left that needs to be deleted. I looked into tools like wipe, and shred but they all say that it really doesn't help on journaling filesystems directly on their man page.
I am not asking how to wipe the whole drive with dd or anything, but I am simply asking if there is a tool that'll delete a single file securely.
View 9 Replies
View Related
May 27, 2010
I have an Acer Aspire One with an SSD for storage. I recently installed Ubuntu on it and chose ext4 for my filesystem. Then I read that journaling on an SSD isn't the best idea, so I will try to disable journaling and I have found these intstructions [URL]..
# Create ext4 fs on /dev/sda10 disk mkfs.ext4 /dev/sda10 # Enable writeback mode. This mode will typically provide the best ext4 performance. tune2fs -o journal_data_writeback /dev/sda10
# Delete has_journal option
tune2fs -O ^has_journal /dev/sda10
# Required fsck
e2fsck -f /dev/sda10
[Code]...
I will use them on my boot partition. Are there any particularly bad parts here, or are there any missing steps? Will my boot partition be fit for being on an SSD after this? Or should I consider switching to ext2, or even reinstall it all and choose ext2 at partitioning time (I'd rather not though, since I've configured quite some stuff already)?
View 2 Replies
View Related
Aug 1, 2011
I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies
View Related
Jul 6, 2011
I am trying to install debian on a slow netbook, and I can only install to a bootable SD card. The SD card is 200x, so it should be fairly fast. I was just wondering what filesystem would be the fastest, and use the least amount of cpu. I think it should be a non-journaling one, since this is flash media. I was thinking ext2 originally, but I heard ext4 has a non-journaling option, and is faster. However does ext4 take up more cpu usage?
View 2 Replies
View Related
Apr 6, 2010
i have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
View 3 Replies
View Related
May 17, 2010
Does anyone know of any high-quality journaling software out there for F12KDE? I tried Keepnote, but it is not installing properly. Needs a Python(abi) dependency.
View 11 Replies
View Related
Mar 12, 2010
I use Slackware64 -current. I will buy a SSD drive, normaly the filesystem in my laptop is EXT4. Is there anything that I need to know? How to improve life of the SSD? Is journaling a good option? How to disable?
View 14 Replies
View Related
Feb 22, 2010
So 2 days ago everything was all fine on my machine. Has been for about a month, but all of a sudden as of yesterday I have no sound, I am seeing IRQ interupts on boot, During boot I am seeing file system is not clean, , and swap space is being used for the first time while doing normal task, etc. These are 2 new hard drives in RAID 1 with ReiserFS. I should have used a newer FS but thats a whole other argument.
Anyways here we go.
The system is Debian Lenny amd64
Physical RAM 4GB + 6GB swap
/var/log/messages
Code:
Feb 21 07:35:09 Sarah kernel: imklog 3.18.6, log source = /proc/kmsg started.
Feb 21 07:35:09 Sarah rsyslogd: [origin software="rsyslogd" swVersion="3.18.6" x-pid="3994" x-info="http://www.rsyslog.com"] restart
code....
View 8 Replies
View Related
Apr 9, 2011
I am getting occasional errors during the boot process.One at the beginning and one or two when I switch to single user mode.I 'd like to run the system file checker to fix any possible errors.But when I run fsck in the terminal I get the message:Code:
mansour@ubuntu-notebook:~$ fsck
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
[code]...
View 14 Replies
View Related
Apr 12, 2010
Can anyone answer me the color code of the linux file system?
Especially, for those which have different colors in the background also like some have green background colors and are written in green some have yellow background and are written in black,why is it so?
Also please explain me the color code of other also.
View 2 Replies
View Related
Nov 3, 2010
I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.
View 6 Replies
View Related
Dec 16, 2009
my partitioning layout was as follows
Vista Recovery
Windows 7
GRUB
Extended
-->Fedora 12 (ext4)
so, I shrunk my recovery in Windows 7 successfully, and booted into my Fedora 12 live cd to run Gparted, and move the partitions so that the free space could go towards fedora, I did such, and then I couldn't expand the partition to my dismay. Next, I woke up this morning, tried to boot to fedora to run SSH, grub loaded, but when I tried to boot fedora, I got the "File system check failed" error, and when I tried 7, it just went to a blank screen with a single "_" in the top left-hand corner.
View 7 Replies
View Related
Nov 23, 2010
As in windows all the delted items will got to RecycleBin is there any such thing in linux.
(Or)
Can we retrive the file which got removed from file system(using rm command)
View 4 Replies
View Related
Apr 6, 2010
I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab
Code:
/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0
Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.
View 2 Replies
View Related
Jan 10, 2011
I used the ext3 format when I formatted my partition prior to installing Ubuntu10.10. I had accidentally deleted a file and began the process to get it back. It wasn't critical but helpful to recover the file. To make a long story short I ran into to some unexpected road blocks. I tried to use PhotoRec to get the job done but with no success.
I'm just looking down the road in the event I might have to recover something important.If it would be better going back to the Fat32 file system I would rather do it sooner than later. Just as a side note I am dual booting between linux and windows.
View 6 Replies
View Related
May 2, 2010
I bought a new SD card which I intend to put some MP3s on - except that I can't write to it because it tells me the destination is Read Only. No-probs thinks I: I'll just reformat it.
"Error creating file system: helper exited with exit code 1: cannot open /dev/mmcblk0p1: Read-only file system"
Various chmod commands all result in Read-only file system. I tried umount then mount commands, but it couldn't find it to mount once I'd unmounted it using the same /media/ file path (I assume it's the only one).
View 9 Replies
View Related
Jul 12, 2010
My Redhat Enterprise Linux 4 with 6x partitions (/, /boot,/home, /usr, /var, /tmp) of 6.0 GB IDE Hardisk was working quite fine. I decided to create LVM on /home and /var partitions but due to some errors occured and I delete the /home partitions. That's why partition table altered. I then delete 4,5,and 6th partitions (/home, /var, /tmp) partitions and now try to create one by one but following error is coming:-
[Code]....
The Super block could not be read or do not describe a clear ext2 file system. E2fsck b 8193 <device> I have tried following commands,but could not successful:- e2fsck -p /dev/hda7 (where hda7 was created but afterthat it was deleted) e2fsck -a /dev/hda7
View 2 Replies
View Related
Mar 16, 2011
I use this command for make image file :
Code:
#dd if=/dev/zero of=disk.img seek=2G count=1
and use this command for check file size :
[code]...
View 4 Replies
View Related
Feb 2, 2010
Have just assembled a new computer and thought I would install the 64 bit version of openSUSE 11.2 in a "Windows free zone". After a hiccup or two I have managed to get a system of sorts running but on trying to copy files from my old computer(via a memory stick) it tells me that Vfat is an unknown file system.On my old computer I am running 32 bit openSUSE 11.2 as a dual boot system with Windows XP and have no problems moving files between the two different file systems.Is it possible to get a 64 bit file system to read 32 bit file system drives and if so how do I do it?
View 7 Replies
View Related
Mar 13, 2010
How to convert FAT file system to NTFS file system via Ubuntu,are there any commands to do this task?
View 2 Replies
View Related
Jan 12, 2011
I was reading about ext3 feature and I have read about its journaling modes. I would like to ask what is the default journaling mode of ext3 fs in slackware(or is it in all distro using ext3)? I'll install slackware when my new pc arrive and the fs I will use will be ext3 and I like it to have data=journal mode for its journaling. I have read in some wiki how to set the journaling mode into data=journal mode.
Code: # tune2fs -O has_journal -o journal_data /dev/sdXY Do i need to issue this command or is this the default mode in ext3 in slackware?
View 9 Replies
View Related
Dec 29, 2010
i've begun studying LPI 101.i came across the following which describes hard links.."hard links do not span file systems. this means they cannot create a link from /usr/bin/bash to /bin/bash if your / and /usr directories exist on seperate file systems"i need clarification on the following:1. under what circumstances will / and /usr directories exist on separate file systems?2. here is a snapshot of my root directory:
admin@linux-2d4r:/> ls
bin dev home lost+found mnt proc sbin sys usr
boot etc lib media opt root srv tmp var
[code]....
View 3 Replies
View Related
Jan 18, 2011
I'm looking for peoples opinion on which file system they use for their Linux platform and why?
I have used fat32, ext2,3,4 and I am currently back to using ext3.
I have been reading up on the subject. Opinions are diverse as they are plentiful.
Several websites I have found are interesting.
Ext3 and Ext4: Which file system to install? April 2009
Ext3 vs Ext4 April 2009
What is ext3?Oct2004
Wikipedia The ext4 or fourth extended filesystem ongoing
Heres a comparison chart of all the file systems. I had no idea there were so many :O
To be perfectly honest I can only understand bits and pieces of whats in these articles as they use some technical language that goes over this novices head. So I was wondering if someone could explain this in everyday terms that we all can understand?
View 14 Replies
View Related
Jun 21, 2011
I have a linux live-cd linux.iso(600Mb), two files foo.sh(1Kb) and foo.img(1.3 Gb). How to add files to live-cd and create live-dvd?
View 1 Replies
View Related
Jul 22, 2011
I have downloaded DavMail and its currently living and running from my /home/user/Downloads/DavMail
in this folder is
davmail.jar
davmail.log
davmail.sh
Lib/
[Code]....
I need to put davmail in a better location than downloads but am unsure where to put it, Im guessing if I seperate some of the files/folders such as lib ill have to modify the davmail.sh file.
wheres the best location to keep this or should it remain in my home folder, I was going to put this in
/usr/local/bin
/usr/local/lib
But the jar count as a binary? the .sh certainly wouldnt.
View 2 Replies
View Related
Jul 12, 2010
I'm still to install Linux (waiting for a replacement of a bad DIMM) on my new box. It will probably be CentOS, following 'Rubberman's recommendation in forum/coffee-lounge/166195-distro-recommendation-development-use.html .
I assume (as I haven't installed Linux before) there could be a choice of file systems. Is there any recommendation on what I should/could use ?
View 9 Replies
View Related
Oct 7, 2010
I need to use MFix a open source program Therefore, because i don't have Linux on my computer i use Cygwin_NT-5.1 the latest version. From the help desk they told me that i need to configure a file to fit with my system. I just changed operation system to CYGWIN_NT-6.0 (instead of the command uname -s ; set opsys=$1. this was the only way i had an idea to do it, so i tell the programm that my sytem is a 6.0 but it isn't
then i wanted to install mfix and it gives me the error
../../model/make_mfix: line 119: syntax error near unexpected token '('
../../model/make_mfix: line 119: 'echo -n "Do you need debug version? (y/n) [no] "'
by looking in he make_mfix file it looks like this echo -n "Do you need debug version? (y/n) [no] "
View 2 Replies
View Related