NetBSD, SPARC, UFS slices


 
Thread Tools Search this Thread
Operating Systems BSD NetBSD, SPARC, UFS slices
# 1  
Old 05-11-2011
NetBSD, SPARC, UFS slices

I need to shrink a UFS slice with NetBSD on SPARC. seems the only way is backup+reformat. can someone please give me exact commands for that? presumably backup is file-by-file instead of sector-by-sector, but how to preserve permissions/dates/attributes.. ? thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

partition of slices

Hello, I am using solaris 10 x86. my root and backup slices is having same memory 10 GB and same cylinders numbers . My root and backup cylinders ends at same cylinder number 1031. so for creating a new slice i am giving starting cylinder from 1302 and this is giving me error as "out of range" .... (2 Replies)
Discussion started by: bhargav90
2 Replies

2. Solaris

Scrapping slices

Hi Admins, Server is sparc solaris 9 I am new into solaris with little experiemce with SVM. /dev/dsk/c3t0d1s4 /u05 /dev/dsk/c3t0d1s3 /u02 /dev/dsk/c3t0d1s5 /u11 There are 3 file system created on slices of disk c3t0d1. Now i want to scrap all the slices and... (5 Replies)
Discussion started by: newsol
5 Replies

3. Solaris

Need Empty SPARC UFS Partition

Can anyone create a SPARC UFS Partition that is like 50 meg, DD the entire partition and zip it up and send it to me? Trying to play around with creating SPARC UFS partitions on linux and need a real one to compare to. I would do it but I do not have access to a SPARC machine anymore. I do not... (5 Replies)
Discussion started by: mooreps
5 Replies

4. Solaris

ufs slices info in solaris

how do you get start and end sector of a UFS slice? (2 Replies)
Discussion started by: orange47
2 Replies

5. Solaris

Partitioning hard disk. Want 8 slices...have 9

Hi all I'm having difficulty setting up a proper disk structure on a 72GB HDD. The drive was previously part of a zfs pool. The zpool has ben destroyed and now I want to use the disk in a raid 5 array. I need to partition the disk accordingly though. This is what the partition table currently... (7 Replies)
Discussion started by: notreallyhere
7 Replies

6. Solaris

How can I mount a ufs filesystem on a solaris 10 sparc onto a Linux server

Hi there, I am trying to mount a SAN volume (which is mapped to solaris sparc) partitioned with ufs filesystem onto a linux (intel processor 64bit) server. *I have re-compiled the linux kernel t support ufs fstype with ro mount support. filesystem on solaris:... (3 Replies)
Discussion started by: ilan
3 Replies

7. 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

8. UNIX for Dummies Questions & Answers

new disk slices

How do I create new disk slices taking space from an existing slice? Right now I have slice 6 (/usr) with 16G. I'd like to create slices 5 (/opt) and 7 (/export/home) and steal space from slice 6. Thanks (3 Replies)
Discussion started by: kmgrady01
3 Replies

9. UNIX for Dummies Questions & Answers

Solaris 8 installation slices

Anyone know if SUN recommends users to install the root parition on 1 single slice or break out the /var , /etc, /opt etc on separate slices? What if i only have a single hdd that is only 2 GB (1 Reply)
Discussion started by: owls
1 Replies
Login or Register to Ask a Question
SCAN_FFS(8)						    BSD System Manager's Manual 					       SCAN_FFS(8)

NAME
scan_ffs, scan_lfs -- find FFSv1/FFSv2/LFS partitions on a disk or file SYNOPSIS
scan_ffs [-blv] [-e end] [-F file] [-s start] device DESCRIPTION
scan_ffs will take a raw disk device that covers the whole disk or a file and will find all possible FFSv[12]/LFS partitions, independent of block sizes on it. It will show the file system type (FFSv1, FFSv2, or LFS), size, and offset. Also it has an option to show the values with a disklabel-alike output. The options are as follows: -b Report every superblock found with its sector address, rather than trying to report the partition boundaries. This option can be useful to find the other superblocks in a partition if the first superblock has become corrupted. It is most useful if device refers to the raw device for the partition, rather than the entire disk. -e end Where to stop searching for file systems. The end argument specifies the last sector that will be searched. Default is the last sector of device. -F file Path to a file containing possible partitions inside of it. -l Print out a string looking much like the input to disklabel. With a little massaging, this output can usually be used by disklabel(8). -s start Where to start searching for file systems. This makes it easier to skip swap partitions or other large non-UFS/FFS partitions. The start argument specifies the first sector that will be searched. Default is the first sector of device. -v Be verbose about what scan_ffs is doing, and what has been found. The device argument specifies which device scan_ffs should scan for file systems. scan_lfs is just another name for the same program, both behave in exactly the same way. SEE ALSO
disklabel(8) HISTORY
The scan_ffs program first appeared in OpenBSD 2.3 and then in NetBSD 3.1. Support for searching in files was added in NetBSD 4.0. AUTHORS
scan_ffs was written for OpenBSD by Niklas Hallqvist and Tobias Weingartner. It was ported to NetBSD by Juan Romero Pardines, who added sup- port for LFS/FFSv2, partitions with fragsize/blocksize greater than 2048/16384 for FFSv1, searching on files, etc. BUGS
Currently scan_ffs won't find partitions with fragsize/blocksize greater than 8192/65536. BSD
May 1, 2007 BSD