Sponsored Content
Full Discussion: Resizing file
Top Forums UNIX for Dummies Questions & Answers Resizing file Post 46585 by jsilva on Tuesday 20th of January 2004 08:38:30 AM
Old 01-20-2004
Hi,

I'm going to try to explain with an example...
If you have a file of 2049 bytes and if each block has a size of 2048 bytes, that file will occupy 2 blocks, wasting 4096-2049 bytes... got it ? With this in mind, if you have thousands of small files with a little more of 2048 bytes, you can try to reduce them and get some free disk space...
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

filesystems resizing

I want to resize my filesystem partitions. Reason is that I have 11GB of disk space unused by Unix which divvy reveals. Is there a way I could resize my filesystems without doing a reinstallation. The secondary problem is that the boot image is too large for a diskette (5MB). I'm running SCO... (10 Replies)
Discussion started by: sshokunbi
10 Replies

2. UNIX for Dummies Questions & Answers

resizing slices

I downloaded the Solaris recommended patched for x86 and tried to install it, but I got the message that I dont have enough disk space. I don't want to install the patches without the option to back out. Anyway I did a df -k and found that my root mount point is in 948MB whereas my /export/home is... (5 Replies)
Discussion started by: dangral
5 Replies

3. UNIX for Dummies Questions & Answers

Resizing File-Systems

can someone tell me the basic steps needed to resize and existing filesystem that already has data on it? thanks I dont need to be pointed to a website so any real time real life advice or help will be wholly appreciated (4 Replies)
Discussion started by: TRUEST
4 Replies

4. AIX

Resizing VG with mirror

Dear Friends, I would like to know if there is any chance to expand a Volume Group, If this VG have a mirror. If there is any chance to do this what would be the safer way to avoid lost any data. Sorry about my English.:D Thanks a lot. (1 Reply)
Discussion started by: chrispaz
1 Replies

5. Filesystems, Disks and Memory

Help with resizing partitions

Hi First post :o I have recently used Acronis (Backup software for data backup and disaster recovery in Windows and Linux - Acronis) to create identical systems that I need to build. Everything works OK, but one of the machine has a bigger harddisk (250G) than the one I used to create the... (2 Replies)
Discussion started by: forte712
2 Replies

6. SuSE

lvextend on ext3 resizing

Hi all IM very curious about one thing Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad: I created an pv, then vg and finaly some lv's which is fine. I mounted then and everything worked fine... (0 Replies)
Discussion started by: kl1ngac1k
0 Replies

7. Solaris

Parition Resizing

Is there a way to take space from the /opt slice (/dev/dsk/c1t0d0s5) and then put it in the /var (/dev/dsk/c1t0d0s1)? In theory, I should be able to ufsdump /opt and /var to another drive. Use disk label to resize those two slices (ex. take 10G from opt and add to /var) and then newfs and dump back... (1 Reply)
Discussion started by: adelsin
1 Replies

8. Solaris

vxfs online resizing

Hi, I have two filesystems called /u009 and /u008. I need to release 60gb from /u009 and add it to /u008 fs through fsadm command.. these are vxfs filesystem..its urgent.. thanx in advance (5 Replies)
Discussion started by: bpsunadm
5 Replies

9. Solaris

Resizing a disk

I'm used to using AIX but a new box running Solaris I need a little help with. The disk are presented from a SAN, the disk needing to change is presented as 148GBs drive which was allocated to a file system as the same. I need to change that without losing any data. I know I can change the disk... (7 Replies)
Discussion started by: ltlawnman
7 Replies

10. HP-UX

Some doubts about resizing fs's in HP-UX

Hello, I'm new to HP-UX and I'm not sure about some concepts related to resizing fs's under this OS. First of all I'm only asking about resizing ONLINE, it means, without having to umount the fs nor rebooting, etc. Q1. I've read that in order to resize a fs online there are 2 requirements:... (3 Replies)
Discussion started by: asanchez
3 Replies
MKUDFFS(1)						    System Management Commands							MKUDFFS(1)

NAME
mkudffs - create an UDF filesystem SYNOPSIS
mkudffs [ switches ] device [ blocks-count ] DESCRIPTION
mkudffs is used to create a UDF filesystem on a device (usually a disk). device is the special file corresponding to the device (e.g /dev/hdX). blocks-count is the number of blocks on the device. If omitted, mkudffs automagically figures the file system size. OPTIONS
--help Display the usage and list of options. -b,--blocksize= block-size Specify the size of blocks in bytes. Valid block size vales are 1024, 2048 and 4096 bytes per block. If omitted, mkudffs block-size is 2048. -r,--udfrev= udf-revision Specify the udf revision to use. Valid revisions are 0x0201, 0x0200, 0x0150, and 0x0102. If omitted, mkudffs udf-revision is 0x0201. --lvid= logical-volume-ident Specify the logical volume identifier. --vid= volume-ident Specify the volume identifier. --vsid= volume-set-ident Specify the volume set identifier. --fsid= file-set-ident Specify the file set identifier. --strategy= strategy Specify the allocation strategy to use. Valid strategies are 4 and 4096. If omitted, mkudffs strategy is based on the media-type. --spartable= spartable-number Specify the number of sparing tables to write to disc. Valid numbers are 1 - 4. This option implies --media-type=cdrw. --media-type= media-type Specify the media type. Valid media types are: hd hard drive dvd DVD (Digital Versatile Disc) dvdram DVD-RAM (Digital Versatile Disc-Random Access Memory) worm WORM (Write Once Ready Many) mo MO (Magneto Optical) cdrw CD-RW (CD Read-Write) --space= space freedbitmap Freed bitmap freedtable Freed table unallocbitmap Unallocated bitmap unalloctable Unallocated table --ad= ad inicb Allocation Descriptors in ICB short Short Allocation Descriptors long Long Allocation Descriptors --noefe Don't Use Extended File Entries --u8 Use 8-bit unicode for file names --u16 Use 16-bit unicode for file names --utf8 Use UTF-8 for file names EXIT STATUS
mkudffs returns 0 if successful, non-zero if there are problems. AUTHOR
Ben Fennema <bfennema@falcon.csc.calpoly.edu> AVAILABILITY
mkudffs is part of the udftools package and is available from http://linux-udf.sourceforge.net. udftools-1.0.0b2 2002-02-09 MKUDFFS(1)
All times are GMT -4. The time now is 09:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy