Questions tagged [ufs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
176 views

How to mount a ZFS volume in FreeBSD for cloning

I am in the process of trying to clone a FreeBSD installation onto a new hard drive and need to mount it and then find the mount points in order to proceed with the cloning process. The internal drive ...
user avatar
0 votes
0 answers
35 views

Incorrect super block error while I'm trying to mount a FreeBSD GPT / UFS2 disk partition on DragonFlyBSD

I'm running DragonFly 6.1 with the Hammer2 fs. I would like to mount the FreeBSD GPT/UFS2 partitions that are located on my USB disks,for example on the disk /dev/da2 : root@marietto:/home/marietto # ...
user avatar
  • 371
0 votes
0 answers
58 views

How can mount freebsd disk partition with read and write permission in deban? [duplicate]

My freebsd installed on /dev/sdb2,it can mount with read permission: sudo mkdir /mnt/freebsd sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb2 /mnt/freebsd How can mount it with read and write ...
user avatar
  • 85
0 votes
0 answers
182 views

Resize Existing FreeBSD Root Partition or Slice Safely Without recreating a new partition

I'm here,on ubuntu 21.04 that I'm trying to understand how to resize,increase the size of this qcow2 image : FreeBSD-13.0-RELEASE-arm64-aarch64.qcow2 and then even the size of the root partition. I ...
user avatar
  • 371
0 votes
1 answer
346 views

I'm out of space on /var. How do I resize and move a UFS partition?

I was upgrading FreeBSD packages as part of a minor version upgrade and I ran out of space on /var/cache/pkg. Now I need to shrink /usr move /usr and /tmp grow /var Is this possible with FreeBSD? If ...
user avatar
1 vote
0 answers
168 views

Mounting an old Sun CDROM on Linux (Debian Buster)

I have an old CDROM of media content that will have been intended for use on a Sun Unix machine. The CD packaging gives no details of the filesystem type etc. beyond- mount -o ro /dev/sr0 /cdrom ...
user avatar
  • 41
1 vote
3 answers
33k views

How to resolve e2fsck Superblock problem?

I have a problem like this question How disk became suddenly write protected in spite configuration is read/write? And I used these commands to resolve that umount /dev/sdb1 e2fsck /dev/sdb1 mount /...
user avatar
1 vote
0 answers
266 views

How to access a UFS2 formatted drive in OSX/High Sierra?

I found this guide and I was able to successfully compile the ufs executable. I already have OSXFUSE because I needed it earlier for accessing ext4 partitions. I was able to successfully run the ufs ...
user avatar
  • 1,699
0 votes
1 answer
896 views

UFS2 file system in FreeBSD - reliability in case of recovering from power outages?

I am planning a bare metal installation of FreeBSD 12-rc3 in my desktop with 6GB DDR3 non-ECC RAM and core i3-2120 based system. My concern is in a rare case of power failure, how well UFS2 will work? ...
user avatar
1 vote
2 answers
755 views

How many times is the disk accessed?

This is regarding generic UFS. From what I understand when an absolute path is given (eg: /home/userU/file.txt) the disk is accessed for each directory and the file. Hence in this case the disk is ...
user avatar
  • 43
4 votes
3 answers
4k views

Resizing UFS /root partition on FreeBSD

Is there a way to resize a UFS /root partition while running OS which resides on it? I am running FreeBSD.
user avatar
2 votes
1 answer
124 views

Booting FreeBSD alongside Linux

I want to install FreeBSD alongside my Debian, Arch and Kali installs, but I'm having problem creating a bootable USB. I followed the instructions given in the BSD handbook, but my PC doesn't ...
user avatar
  • 1,311
1 vote
1 answer
4k views

How to enable Unix file system support on Linux kernel? [duplicate]

After switching from Debian stable to Debian testing i have a problem to mount my FreeBSD root partition on my system: How to mount ufs file system under Debian testing? I find out what filesystems ...
user avatar
  • 58.2k
3 votes
1 answer
4k views

How to mount ufs file system under Debian testing?

In order to mount my /dev/sda4 under /mnt/ufs_mount on Debian Testing , i have tried the following commands (it works fine under Debian Jessie): modprobe ufs mount -r -t ufs -o ufstype=ufs2 /dev/...
user avatar
  • 58.2k
3 votes
2 answers
499 views

Migrate UFS drive from FreeNAS to DragonFly BSD

I'm trying to migrate my home server from FreeNAS 8.3 to DragonFly BSD. In order to shuffle my files about I picked up a Seagate 8Tb Archive disk, attached it via eSATA, formatted it as UFS under ...
user avatar
  • 33
1 vote
1 answer
50 views

Can't find 8GB data in FreeBSD [closed]

I can't find 8GB data in FreeBSD. I use df -h and see this: /dev/da1s1a 19G 16G 1.4G 92% / devfs 1.0k 1.0k 0B 100% /dev zzdata/jail 341G 22G ...
user avatar
  • 359
0 votes
1 answer
492 views

How to check UFS filesystem on SPARC with Linux?

I've got this really old Solaris SPARC machine. It doesn't boot any longer for some as yet unknown reason (seems like the disk may be corrupted). I'd like to check the partitions. The only thing I ...
user avatar
7 votes
3 answers
22k views

Mount FreeBSD UFS from logical partition under Linux

How can I mount the FreeBSD UFS boot partition under Ubuntu in this setup: a single HDD which contains an MBR partition table which contains some primary Linux partitions and an extended partition ...
user avatar
  • 1,357
1 vote
1 answer
316 views

FreeBSD - UFS equivalent of ZFS command

I'm trying to configure jails with this tutorial. Since I don't want to use ZFS, could anyone tell me the UFS equivalent of zfs create -o mountpoint=/local/jails zpool/jails chmod 700 /local/jails &...
user avatar
  • 227
2 votes
0 answers
3k views

Unable to mount UFS2 partition on Linux - ufs_fill_super(): bad magic number

In FreeNAS 9.3, I created a partition (slice?) by doing: fdisk -BI /dev/ada3 bsdlabel -wB /dev/ada3s1 newfs -O2 -U /dev/ada3s1a This drive is now /dev/sdg on Ubuntu 14.04, which I've been unable to ...
user avatar
1 vote
0 answers
345 views

Recovering data from a UFS drive with bad superblock

I've got a UFS drive that has a bad superblock. I've used mke2fs to find the alternate superblocks. The drive has a zfs_member on it named "james". How can I mount the drive with the alternate ...
user avatar
4 votes
1 answer
491 views

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was ...
user avatar
0 votes
0 answers
61 views

Misc file corruption freebsd 10 and dns zone file

The computer is a VPS from Vultr. They tell me that "since it is loaded into RAM and not really a drive, nothing on the host would be causing this." One particular file, my zone file, will come up ...
user avatar
  • 11
2 votes
1 answer
1k views

Is it possible to store data directly inside an inode on a Unix / Linux filesystem?

According to this Red Hat bug report (which I am trying to reproduce) it looks like the Netapp filer is able to store data directly in the inode, in case of very small files. Considering I had a FS ...
user avatar
  • 547
1 vote
0 answers
2k views

Unable to mount a UFS filesystem from Sparc Solaris to x86_64 Linux

I have a requirement to copy a very large amount of data from a Solaris 9 (Sparc) system to a SLES11 (x84_64) system. The Solaris system is quite old, and transferring the data over the network will ...
user avatar
7 votes
1 answer
17k views

Reading FreeBSD UFS formatted external drive in Mac OS X

I have an external USB drive with backup files formatted in FreeBSD's UFS file system. When I plug it into a computer running Mac OS X 10.9.4, I cannot read the drive's contents, and I don't have ...
user avatar
  • 73
4 votes
2 answers
3k views

Storing thousands of files in one directory

I have a web-site that I'm checking for performance issues and bugs, and i came across a caching code that caches thousands of files into one single directory. I understand that this is not good and ...
user avatar
  • 141
1 vote
0 answers
147 views

ufs fails on debian

I am a longtime openSUSE user. However, my friend convinced me to give debian a try. When installing, I noticed there was no ext3 option (which I usually use), so I selected ufs. Then I got an error:...
user avatar
  • 333