Method and apparatus for supporting resizing of file system partitions
US6609187B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Jul 6, 1999 |
| Grant date | Aug 19, 2003 |
| Priority date | — |
| Expiry date | Jul 6, 2019 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99956
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
One embodiment of the present invention provides a system that supports resizing of file system partitions. The system includes one or more storage devices that are divided into a plurality of partitions, wherein each partition includes a different file system. The system operates by receiving a request to allocate storage within a partition. In response to the request, the system adds a request size to a current partition size to produce a predicted size for the partition. Next, the system compares the predicted size for the partition with a size limit for the partition. If the predicted size exceeds the size limit, the system signals an error condition. If the predicted size does not exceed the size limit, the system allocates the requested storage for the partition in the nonvolatile random access memory. The system also makes the current partition size equal to the predicted partition size. In a variation on the above embodiment, the system receives a request to deallocate storage from the partition. In response to the request, the system deallocates the storage, and decreases the current partition size to reflect the deallocated storage.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.