Bug 177776 - nash losetup fails on large files
nash losetup fails on large files
Product: Fedora
Classification: Fedora
Component: mkinitrd (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2006-01-13 16:04 EST by Ed Swierk
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-03 18:05:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ed Swierk 2006-01-13 16:04:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20051201 Fedora/1.5-1.1.fc4.nr Firefox/1.5

Description of problem:
I find it useful to be able to create a large loopback root filesystem.  Unfortunately nash losetup fails when attempting to create a loopback device for a file >= 2 GB in size.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

# dd if=/dev/zero of=testfile bs=1M seek=2048 count=0
# echo losetup /dev/loop0 testfile | /sbin/nash --force
(forcing normal run)
Red Hat nash version 4.2.15 starting
losetup: failed to open testfile: 27

Expected Results:  Running the same test with seek=2047 instead of 2048 works fine.

Additional info:

The util-linux losetup has no problem handling large files.

Note You need to log in before you can comment on or make changes to this bug.