General :: Calculate Minimum Ext3 Partition Size For Certain Amount Of Data?

Aug 5, 2011

These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop11 3965777 561064 3199964 15% [...]
/dev/loop19 573029 543843 29186 95% [...]

[code]....

View 2 Replies


ADVERTISEMENT

Programming :: Calculate The Amount Of Data Had Been Download?

May 3, 2011

i'm trying to write a program with c socket programming,what i am trying to reach is a program which will calculate a computer's downloaded data from the internet,just to know how much he/she download?

View 1 Replies View Related

General :: Recover Data From Ext3 Partition?

Dec 30, 2009

A HP Netserver LP2000r, with original SCSI controller and HP NetRaid-2M controller, 3x 36GB Ultra3 HDD in RAID5, Debian (sarge/etch), has crashed after 992 days without reboot. From all that I can see, a hardware failure, most likely with the memory. The HP Diagnostic tools cannot find any problem, but everytime I boot into Knoppix, I get between 2minutes and 2 hours of runtime, and then either a kernel oops or just a complete and sudden halt.

Well, the box has earned its money. However, there is some data on the drives that I need to recover (yes, I have beaten myself up properly about not backing up that data, don't even go there !). There are three partitions: sda1 is /, sda2 is swap and sda3 is a LVM volume with 3 logical volumes on it. As far as I can tell, the hardware defect must have been creeping in and has made a total mess of the inodes in all these partitions.

After booting into Knoppix, I can restore the volumes using pvscan, vgscan, lvscan, vgcfgrestore and vgchange. If I try and mount them: mayhem. So I try and check them, using fsck.ext3. All sorts of interesting nonsense, such as a completely empty inode 11 (the first inode) and then obviously from there on all else is pointless. I tried using debugfs, but the information on what to do with it is somewhat spurious.

P.S.: Tomorrow I will go and get myself a 16GB Flash Drive and then hopefully I will be able to dump the partitions one by one onto that drive and transfer the images onto a different computer for analysis and data recovery.

View 1 Replies View Related

General :: Recovering Data From A Severely Damaged Ext3 Partition?

Feb 21, 2011

following problem. A friend phoned me in despair. Her Ubuntu didn't start any more - ASUS-Laptop switched on stops at a ramfs-prompt.
I started Puppy-Linux from DVD-Drive. Worked fine. But puppy can't mount her /dev/sda1 partition either. At least you can see that the partition is still there. Fsck stops with an error. May be the initial problem is a sort of bad hardware by which bad bytes were written to the hard drive. Hard drive and/or memory could be replaced but not the data.

View 7 Replies View Related

General :: Recover Data From Encrypted Partition (created By EXT3 Ubuntu 10.04)?

Oct 11, 2010

I am facing a serious problem.I installed UBUNTU 10.04 and encrypted it during installation. I accidentally erased some of the necessary files from root folder. now the the OS is NOT booting.luckily i still have the encryption key i have some important documents in that drive (desktop folder).

PS: I have tried to run Live Ubuntu it shows the Root, but it does not enter any of the folder.

View 14 Replies View Related

General :: Recovering Data From Ext3 Partition With Hardware Errors - Recovery Required On Readonly Filesystem

Jan 10, 2010

I have an external 3.5" USB 250Gb HDD which is showing symptoms of hardware problems (repeated /var/log/messages errors of "reset high speed USB device using ehci_hcd"). This was originally plugged in to my NSLU2 running Debian Etch. I have just installed Ubuntu Desktop 9.10 to a spare Pentium-3M laptop and was hoping to copy the contents of this HDD to a fresh drive. However, I cannot mount it even read-only; mount -o ro /dev/sde3 /mnt/disk fails, and the /var/log/messages error is "recovery required on readonly filesystem", "write access unavailable, cannot proceed". I cannot understand why mounting a disk read-only should require write access. Following advice I googled elsewhere, I tried running mke2fs -n /dev/sde3 to try to list the alternative superblocks - but once again I got the error that the device was read-only. How can I go about accessing the data on this disk?

View 11 Replies View Related

Software :: Gparted: Joining 2 Partition Ext3 Within One Partition (data Saved)?

Dec 11, 2009

I usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).

View 1 Replies View Related

Ubuntu :: Minimum Amount Of Processes That Can Be Run?

Feb 28, 2010

What is the minimum amount of processes that can be run and still keeping stable? I have what looks like over 100 processes running and my computer is lagging pretty bad. Attached is an output of
Code:
ps -A
And it comes and goes with the cpu usage. cpu1 will run at like 9 or 10 percent idle while cpu2 will run at 100 percent all the time. I am not sure whats going on. But id hate to have to start from scratch again begins I just got it set up the way i want it. And the network activity keeps having spikes when I am not online. I've scanned with multiple port scanners and nothing seems out of the norm.

View 4 Replies View Related

General :: What Is The Amount Of Space After Formatting For Ext4, Ext3, And Ntfs

Jun 12, 2011

I have just purchased a 2TB drive for my server and I was trying to get an idea of the differences between these file systems or other file systems out there. What is the amount of space after formatting for ext4, ext3, and ntfs?

View 4 Replies View Related

Server :: Calculate The Total Amount Of Memory Used By The System?

Jul 15, 2010

I want to calculate the total amount of memory used by the system, Someone please confirm if the below formula is correct.Quote:

((memUsed-mebBuffers-memCached)*100)/memUsed => totalMemoryUsed%
Code:
free -o
total used free shared buffers cached
Mem: 8167004 8115292 51712 0 87680 1444676
Swap: 8388584 3252996 5135588
((8115292-87680-1444676)*100/8115292) => 81%

As per the above calculation 81% of memory is used.Is this correct? and if so Am I running out of memory?what is the limit in % that I should maintain for a better performance?

View 3 Replies View Related

Ubuntu :: Partition Ext3 Without Losing Data?

May 26, 2010

because what i was looking for was complicated, i am going to edit post

I have laptop with ubuntu on it. I have one ext3 partition with ~220GB.

I want to delete ubuntu and create two ntfs partitions (50+170GB) so i can install windows 7 later.

how to do that using GParted Live CD?

View 6 Replies View Related

Hardware :: Recover Data On Ext3 Partition On Ubuntu?

Apr 25, 2009

I wanted to upgrade from Intrepid to Jaunty. I opted for a format/reinstall as I figured upgrading usually sucks. To save my important data, I resized my partition (partition A), formatted the empty space with ext3 (now partition B), and moved the necessary files from partition A to partition B. Then I went through the install process and installed Jaunty on partition A, telling the installer to NOT format partition B. It gave a warning about the installer deleting system folders (var, usr, etc) but I figured it didn't apply. I was wrong.

So now partition B is "empty." I know it didn't format it, but I need to get those files off of there. I have created an image of partition B using ddrescue, but I don't know where to go from there. I tried using foremost, but it won't recover things like my virtual machines and completely nukes the original file structure I had. And I've tried mounting it (using sudo mount -t ext3 -o loop /home/user/recovery.img /mnt), but that doesn't seem to work. The mount command completes successfully, but nothing shows up in the folder I mounted it to.

View 1 Replies View Related

Programming :: Write A Script To Calculate The Total Amount Of Installed Memory?

Apr 4, 2011

I am trying to write a script to calculate the total amount of installed memory to use during an anaconda kickscript, so the swap file is created at 2 x the installed memory. I so far have the amount of installed RAM DIMMS but need a way to total them up and produce a varible I can use in the pre section of the install.

Code:

dmidecode -t 17 | grep Size | awk ' { print $2 }'
Output:
2048
2048

Note: on some servers there could be from 1 DIMM up to 16 DIMMS installed so the script needs to be able to handle this. I also can not use bc as it does not exist during the install stage. I am guessing I need a while loop to do this and use expr but do not know where to start for this logic.

View 3 Replies View Related

Fedora :: Formatted EXT3 Partition - Recover Lost Data?

Jan 26, 2011

By mistake I formatted an ext3 partition on my external hard-drive. Now it has turned into a vfat filesystem. Is their any chance of recovering the lost data?

View 4 Replies View Related

Server :: Minimum Partition Size Required In Redhat Linux Server For DNS Server Configuration?

May 5, 2011

Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?

i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB

if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..

View 3 Replies View Related

General :: Change Amount And Size Of Ramdisks

Mar 8, 2011

Using Linux, when I boot I automatically have 16 16MB ramdisks, however, I would like to create one really large ramdisk to test some software.I found that I can adjust the size of the ramdisks already on the system with the kernel boot parameter ramdisk_size however, this makes all 16 ramdisks (/dev/ram0 - /dev/ram15) the size that is specified. So if I want to create a 1GB ramdisk, I would need 16GB of memory.Basically, I want to create one 10GB ramdisk which would be /dev/ram0. How would I go about doing that? I assume there is a kernel boot parameter, but I just haven't found it.

View 3 Replies View Related

General :: Measure The Amount Of Usb Data ?

Jan 21, 2010

I would like to measure the amount of traffic my webcam is sending. What is the best way to do this? I tried iostat command, but i do not see the webcam traffic back.

View 1 Replies View Related

Red Hat / Fedora :: Reduce The Size Of LVM Partition Without Loosing Home Directory Data?

Jun 3, 2009

I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.

View 1 Replies View Related

General :: Calculate Usable Bytes On A Disk Partition?

Mar 10, 2010

How do you calculate the number of usable bytes on a disk partition? When I do an fdisk -l I get this:

Disk /dev/md0: 192.0 GB, 192069500928 bytes
2 heads, 4 sectors/track, 46891968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

[code]...

View 7 Replies View Related

Ubuntu :: Calculate Size Of Tmp Directory In All Acconuts?

Nov 11, 2010

How can I calc the size of the tmp directory in all account. Do the following will calc each dir alone code...

View 1 Replies View Related

Ubuntu Installation :: Minimum Disk Size For Automatic Partitioning?

Dec 23, 2010

I want to create several virtual machines based on a minimal (no GUI) Ubuntu installation. I'm using VirtualBox (on Windows 7), the VMs are being created with 256MB RAM and using the Ubuntu Minimal CD Image [URL]. Because I want 4-5 of these virtual machines I want to use minimal disk space for storage too, which means restricting the virtual hard disk size for each. My first attempt was to limit it to 300MB, but when I got to the partitioning section of the installer it would not allow me to do automatic partitioning and forced me to do manual partitioning, it did moan about the size of the disk.

So I started again with a 1GB virtual hard disk, this time the installer was quite happy to do the automatic partitioning. My question is how small can I make my virtual hard disk without having to do manual partitioning? I don't have a problem with doing the partitioning manually but for easiness I just want to do it automatically and find it strange the acceptable size isn't mentioned anywhere (that I could find).

View 1 Replies View Related

Software :: Firefox - Minimum Font Size - Doesn't Work

Aug 21, 2010

Mozilla 3.6.8, Linux Arch. It doesn't matter what minimum font size I set, Firefox still doesn't increase small font on pages...

View 6 Replies View Related

Software :: Which Chm Viewer Support Setting For Minimum Font Size

Apr 13, 2011

I have myopia. I read the documents with quite large font size (13). But some of chm viewer such as: kchmviewer, gnochm, xchm, ... open the .chm files with tiny font. I must click the Zoom in, larger button 2 --> 5 times to get the sastified font. Is there any chm viewer support setting for minimum font size?

View 7 Replies View Related

Programming :: Write A Script That Will Calculate A Directory Size?

Jan 20, 2009

I'm trying to write a script that will calculate a directory size and if the size is greater than 4GB, it will send out an email. But I am getting the "integer operation expected" error when it tries to calculate the current disk size. Here's my script.

Code:

TO="user@email.com"
SUBJ="Ready for DVD burning on `hostname`"
MAIL="/bin/mail"

[code]....

View 1 Replies View Related

General :: Recover Data From Ext3 File System?

Jun 20, 2009

I have accidentally removed vmware virtual disk, my host operating system is RHEL5.2 with ext3 file system, i have used photorec, magicresue and foremost but still no luck to recover the vmdk file. i have seen in foremost configuration file that there are some predefined files (ex- doc, pdf, jpg, avi, zip, etc),

1. is there any way to add vmdk file extension on that configuration file?

2. if yes how can i do ?

3. by adding vmdk on configuration file, can i specifically use recover option for vmdk?

View 2 Replies View Related

General :: Get Output Of Text File Containing Account Number, Debit Amount, Credit Amount,date Using Shell Script?

Apr 9, 2011

How to get output of text file containing account number, debit amount, credit amount,date using shell script?

View 1 Replies View Related

Programming :: Calculate Data And Make It Into New Column Using Awk?

May 24, 2011

i've been using a awk script to calculate my data... i have 3 files:

file a1.txt:

2
3
4

[code]....

the results were (3.5, 6 and 3) which is pretty easy.. now i want to combine all this into 1 file and each have different columns and called it avg.txt which have something like this in the end:

3.5 6 3

View 1 Replies View Related

Software :: See The Amount Of Data Downloaded?

Aug 3, 2010

I am on a limited broadband plan with 4GB download limit per month. Is there any software which can tell me how much data I have downloaded in a particular period of time?

View 1 Replies View Related

CentOS 5 Server :: Estimate The Amount Of Time The Backup Will Take And The Size Of The Image File?

Jul 26, 2009

I have a CentOS5 server with a 1tb hard drive.There is only 80gb of data on that huge drive and now I want to make a bare metal recovery backup using AcronisMy question is, how can I estimate the amount of time the backup will take and the size of the image file? Is it based on the size of my drive or is it based on the amount of data on the drive?

View 1 Replies View Related

General :: How To Set Ext3 Partition Hidden Flag

Apr 15, 2010

I have a created an ext3 partition and when i tried to set is hidden flag, there seems no effect. how to set the hidden flag of an ext3 partition?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved