10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good Morning everyone,
I want to know how to allocate unallocated drive space from a SAN to a file system that desperately needs the drive space. Does anyone have any documentation or tips on how to accomplish this? I am running on AIX version 6.1. (2 Replies)
Discussion started by: ryanco
2 Replies
2. AIX
Hi,
I have taken a backup of filesystem " /backup " by using backupby file name command on tape
Mount volume 1 on /dev/rmt0.
Press Enter to continue. Backing up to /dev/rmt0.
Cluster 51200 bytes (100 blocks).
Volume 1 on /dev/rmt0
a 0 /backup
a 543 /backup/abc_log ... (3 Replies)
Discussion started by: m_raheelahmed
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have been asked to backup a LINUX filesystem (directory structure and contents) and do not know how to achieve this. I am presuming that this will be required on a scheduled basis going forward but do not have clarity on that at the moment.
Can anyone assist in anyway on this?
... (3 Replies)
Discussion started by: dixer
3 Replies
4. SuSE
Hi,
The dump and restore commands are missing from this server under SuSE 11.4 for unknown reasons. What is the cleanest way to backup and restore filesystems? Clean means to keep all the original hard/soft links and timestamps. Is find/cpio clean enough?
$ cd /source
$ find . -print | cpio... (4 Replies)
Discussion started by: aixlover
4 Replies
5. UNIX for Dummies Questions & Answers
One of our production systems has a slice called "oldslice" that periodically runs low on space during normal operation. We have minimum requirements for online data retention, and whoever sized this slice didn't give it much wiggle room, so it periodically runs low on space. I'm getting tired of... (1 Reply)
Discussion started by: the.gooch
1 Replies
6. UNIX for Advanced & Expert Users
we are doing daily backup of some filesystem of our servers. If in any case we cannot perform backup,what would be the probable reason? Say the IP is reachable? any thing that we need to take a look at on the server side?
server -----to backup server----
thanks (3 Replies)
Discussion started by: lhareigh890
3 Replies
7. UNIX for Advanced & Expert Users
Dear Gurus and friends
I am RHCE certified but new to solaris 10, am using intel 945gcl motherboard in a intel P4 pc with 1 gb of memory.
my onboard NIC card is not detected (Intelpro 100 ve ), i checked in
/etc/driver_alisases it is in the file showing iprb0
dladm show-link # nothing... (0 Replies)
Discussion started by: niru
0 Replies
8. Shell Programming and Scripting
I have a free software project I'm working on that provides portable versions of Linux applications capable of being carried around on removable media, with settings and documents traveling along.
While developing the portable launcher, I fell into a problem: FAT32 partitions do not support... (2 Replies)
Discussion started by: dkulchenko
2 Replies
9. UNIX for Dummies Questions & Answers
Scenario............
ufsdump 0uf /dev/rmt/0n /
root has 10GB available but only 5GB are used. Does the backup record the entire 10GB regardless of whats actually used or just the 5GB being used? (1 Reply)
Discussion started by: shorty
1 Replies
10. HP-UX
:confused:
Hi Guys,
I'm not new to UNIX but I am new to HP-UX. I have a proven backup and restore procedue using cpio on Solaris, however, the filesystem structure appears to be different on HP. Can anybody help me with the following questions?
1) What is the best method for performing a... (7 Replies)
Discussion started by: mybeat
7 Replies
NEWFS_MSDOS(8) BSD System Manager's Manual NEWFS_MSDOS(8)
NAME
newfs_msdos -- construct a new MS-DOS (FAT) file system
SYNOPSIS
newfs_msdos [-N] [-B boot] [-F FAT-type] [-I volid] [-O OEM] [-S sector-size] [-a FAT-size] [-b block-size] [-c cluster-size] [-e dirents]
[-f format] [-h heads] [-i info] [-k backup] [-m media] [-n FATs] [-o hidden] [-r reserved] [-s total] [-u track-size]
[-v volume-name] special [disktype]
DESCRIPTION
The newfs_msdos utility creates a FAT12, FAT16, or FAT32 file system on device special, using disktab(5) entry disktype to determine geome-
try, if required.
The options are as follow:
-N Don't create a file system: just print out parameters.
-B boot
Get bootstrap from file.
-F FAT-type
FAT type (one of 12, 16, or 32).
-I volid
Volume ID.
-O OEM OEM string (up to 8 characters). The default is "BSD 4.4".
-S sector-size
Number of bytes per sector. Acceptable values are powers of 2 in the range 128 through 32768.
-a FAT-size
Number of sectors per FAT.
-b block-size
File system block size (bytes per cluster). This should resolve to an acceptable number of sectors per cluster (see below).
-c cluster-size
Sectors per cluster. Acceptable values are powers of 2 in the range 1 through 128.
-e dirents
Number of root directory entries (FAT12 and FAT16 only).
-f format
Specify a standard (floppy disk) format. The eight standard formats are (capacities in kilobytes): 160, 180, 320, 360, 640, 720,
1200, 1232, 1440, 2880.
-h heads
Number of drive heads.
-i info
Location of the file system info sector (FAT32 only). A value of 0xffff signifies no info sector.
-k backup
Location of the backup boot sector (FAT32 only). A value of 0xffff signifies no backup sector.
-m media
Media descriptor (acceptable range 0xf0 to 0xff).
-n FATs
Number of FATs. Acceptable values are 1 to 16 inclusive. The default is 2.
-o hidden
Number of hidden sectors.
-r reserved
Number of reserved sectors.
-s total
File system size.
-u track-size
Number of sectors per track.
-v volume-name
Volume name (filesystem name), up to 11 characters. The name should consist of only those characters permitted in regular DOS (8+3)
filenames.
NOTES
FAT file system parameters occupy a "Boot Sector BPB (BIOS Parameter Block)" in the first of the "reserved" sectors which precede the actual
file system. For reference purposes, this structure is presented below.
struct bsbpb {
u_int16_t bps; /* [-S] bytes per sector */
u_int8_t spc; /* [-c] sectors per cluster */
u_int16_t res; /* [-r] reserved sectors */
u_int8_t nft; /* [-n] number of FATs */
u_int16_t rde; /* [-e] root directory entries */
u_int16_t sec; /* [-s] total sectors */
u_int8_t mid; /* [-m] media descriptor */
u_int16_t spf; /* [-a] sectors per FAT */
u_int16_t spt; /* [-u] sectors per track */
u_int16_t hds; /* [-h] drive heads */
u_int32_t hid; /* [-o] hidden sectors */
u_int32_t bsec; /* [-s] big total sectors */
};
/* FAT32 extensions */
struct bsxbpb {
u_int32_t bspf; /* [-a] big sectors per FAT */
u_int16_t xflg; /* control flags */
u_int16_t vers; /* file system version */
u_int32_t rdcl; /* root directory start cluster */
u_int16_t infs; /* [-i] file system info sector */
u_int16_t bkbs; /* [-k] backup boot sector */
};
EXAMPLES
newfs_msdos /dev/disk0s1
Create a file system, using default parameters, on /dev/disk0s1.
newfs_msdos -f 1440 -v foo fd0
Create a standard 1.44M file system, with volume name "foo", on /dev/fd0.
SEE ALSO
fdisk(8), mount(8)
DIAGNOSTICS
Exit status is 0 on success and 1 on error.
HISTORY
The newfs_msdos command appeared in FreeBSD 3.0.
AUTHORS
Robert Nordier <rnordier@FreeBSD.org>.
BSD
July 6, 1998 BSD